diff --git a/app/models/customer.rb b/app/models/customer.rb index 6d8961f..f72154a 100644 --- a/app/models/customer.rb +++ b/app/models/customer.rb @@ -116,6 +116,7 @@ class Customer < ActiveRecord::Base qbo_customer = Customer.find_or_create_by(id: customer.id) qbo_customer.name = customer.display_name qbo_customer.id = customer.id + qbo_customer.save end end end