Added allowed params for qbo controller

This commit is contained in:
2022-02-19 21:47:12 -05:00
parent a459d84b00
commit 7234a70265

View File

@@ -18,6 +18,10 @@ class QboController < ApplicationController
before_action :require_user, :except => :qbo_webhook before_action :require_user, :except => :qbo_webhook
skip_before_action :verify_authenticity_token, :check_if_login_required, :only => [: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 # Called when the QBO Top Menu us shown
# #