diff --git a/lib/issue_patch.rb b/lib/issue_patch.rb index eebba1f..1e6e79b 100644 --- a/lib/issue_patch.rb +++ b/lib/issue_patch.rb @@ -53,9 +53,6 @@ module IssuePatch spent_hours ||= spent_time.sum(:hours) || 0 if spent_hours > 0 then - qbo = Qbo.first - company_id = qbo.company_id - access_token = Qbo.get_base # Prepare to create a new Time Activity time_service = Qbo.get_base(:time_activity)