From 7234a70265ad68fe0dc779d34c87ff7eccbb27fc Mon Sep 17 00:00:00 2001 From: Ricky Barrette Date: Sat, 19 Feb 2022 21:47:12 -0500 Subject: [PATCH] Added allowed params for qbo controller --- app/controllers/qbo_controller.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/controllers/qbo_controller.rb b/app/controllers/qbo_controller.rb index 97d68f6..0c19656 100644 --- a/app/controllers/qbo_controller.rb +++ b/app/controllers/qbo_controller.rb @@ -18,6 +18,10 @@ class QboController < ApplicationController before_action :require_user, :except => :qbo_webhook skip_before_action :verify_authenticity_token, :check_if_login_required, :only => [:qbo_webhook] + def allowed_params + params.permit(:code, :state, :realmId, :id) + end + # # Called when the QBO Top Menu us shown #