mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2025-11-08 17:04:23 -05:00
Update qbo_controller.rb
This commit is contained in:
@@ -60,7 +60,7 @@ class QboController < ApplicationController
|
|||||||
qbo.qb_token = resp.token
|
qbo.qb_token = resp.token
|
||||||
qbo.qb_secret = resp.refresh_token
|
qbo.qb_secret = resp.refresh_token
|
||||||
qbo.token_expires_at = resp.access_token_expires_at
|
qbo.token_expires_at = resp.access_token_expires_at
|
||||||
qbo.reconnect_token_at = resep.refresh_token_expires_at
|
qbo.reconnect_token_at = resp.refresh_token_expires_at
|
||||||
qbo.company_id = params[:realmId]
|
qbo.company_id = params[:realmId]
|
||||||
if qbo.save!
|
if qbo.save!
|
||||||
redirect_to qbo_sync_path, :flash => { :notice => "Successfully connected to Quickbooks" }
|
redirect_to qbo_sync_path, :flash => { :notice => "Successfully connected to Quickbooks" }
|
||||||
|
|||||||
Reference in New Issue
Block a user