Update qbo_controller.rb

This commit is contained in:
2020-01-04 15:21:14 -05:00
committed by GitHub
parent b734125d6b
commit 5dbf486b50

View File

@@ -55,6 +55,8 @@ class QboController < ApplicationController
# quickbooks_credentials.update_attributes(access_token: resp.token, refresh_token: resp.refresh_token,
# realm_id: params[:realmId])
Qbo.delete_all
# Save the authentication information
qbo = Qbo.new
qbo.qb_token = resp.token