fixed token names

This commit is contained in:
2023-12-30 12:46:52 -05:00
parent 517a239485
commit 84dfdd707a

View File

@@ -47,7 +47,7 @@ class QboController < ApplicationController
# Save the authentication information
qbo = Qbo.new
qbo.update(access_token: resp.token, refresh_token: resp.refresh_token, realm_id: params[:realmId])
qbo.update(oauth2_access_token: resp.token, oauth2_refresh_token: resp.refresh_token, realm_id: params[:realmId])
if qbo.save!
redirect_to qbo_sync_path, :flash => { :notice => "Successfully connected to Quickbooks" }