Update qbo_controller.rb

This commit is contained in:
ricky authored and GitHub committed 2016-07-28 18:15:56 -04:00
1 parent c60f06e8ed
commit ede89cc6cf
1 file changed
+1 -1
+1 -1
View File
@@ -42,7 +42,7 @@ class QboController < ApplicationController
# Called by QBO after authentication has been processed # Called by QBO after authentication has been processed
# #
def oauth_callback def oauth_callback
at = session[:qb_request_token].get_access_token(:oauth_verifier => params[:oauth_verifier]) at = session[:qb_request_token].get_access_token(:oauth_token => params[:oauth_token])
#There can only be one... #There can only be one...
Qbo.destroy_all Qbo.destroy_all