mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2025-11-08 17:04:23 -05:00
Update customer.rb
This commit is contained in:
@@ -143,7 +143,7 @@ class Customer < ActiveRecord::Base
|
||||
def pull
|
||||
begin
|
||||
tries ||= 3
|
||||
@details = get_customer(self.id)
|
||||
@details = Qbo.get_base(:customer).service.find_by_id(self.id)
|
||||
rescue
|
||||
retry unless (tries -= 1).zero?
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user