diff --git a/app/controllers/qbo_controller.rb b/app/controllers/qbo_controller.rb index 18f8d28..f6eeef3 100644 --- a/app/controllers/qbo_controller.rb +++ b/app/controllers/qbo_controller.rb @@ -76,7 +76,7 @@ class QboController < ApplicationController entities.each do |entity| if entity['name'].eql? "Customer" - Customer.sync(entity['id'].to_i) + Customer.sync_by_id(entity['id'].to_i) end end