Update issue_patch.rb

This commit is contained in:
2020-01-04 13:54:29 -05:00
committed by GitHub
parent bfa37ee634
commit f5c40738dc

View File

@@ -55,7 +55,7 @@ module IssuePatch
if spent_hours > 0 then if spent_hours > 0 then
qbo = Qbo.first qbo = Qbo.first
company_id = qbo.company_id company_id = qbo.company_id
access_token = qbo.token access_token = Qbo.get_base
# Prepare to create a new Time Activity # Prepare to create a new Time Activity
time_service = Quickbooks::Service::TimeActivity.new(:company_id => company_id, :access_token => access_token) time_service = Quickbooks::Service::TimeActivity.new(:company_id => company_id, :access_token => access_token)