mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2025-11-09 01:14:23 -05:00
Update qbo_controller.rb
This commit is contained in:
@@ -55,6 +55,8 @@ class QboController < ApplicationController
|
|||||||
# quickbooks_credentials.update_attributes(access_token: resp.token, refresh_token: resp.refresh_token,
|
# quickbooks_credentials.update_attributes(access_token: resp.token, refresh_token: resp.refresh_token,
|
||||||
# realm_id: params[:realmId])
|
# realm_id: params[:realmId])
|
||||||
|
|
||||||
|
Qbo.delete_all
|
||||||
|
|
||||||
# Save the authentication information
|
# Save the authentication information
|
||||||
qbo = Qbo.new
|
qbo = Qbo.new
|
||||||
qbo.qb_token = resp.token
|
qbo.qb_token = resp.token
|
||||||
|
|||||||
Reference in New Issue
Block a user