diff --git a/app/models/qbo_customer.rb b/app/models/qbo_customer.rb index 27a7cd3..b78ab1a 100644 --- a/app/models/qbo_customer.rb +++ b/app/models/qbo_customer.rb @@ -29,6 +29,7 @@ class QboCustomer < ActiveRecord::Base customers.each { |customer| qbo_customer = QboCustomer.find_or_create_by(id: customer.id) qbo_customer.name = customer.display_name + qbo_customer.id = customer.id qbo_customer.save! } #remove deleted customers