mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2026-10-04 09:10:43 -04:00
Update customer.rb
This commit is contained in:
1 parent
40f4e6e00e
commit
86327723b8
1 file changed
+1
-1
@@ -100,7 +100,7 @@ class Customer < ActiveRecord::Base
|
||||
|
||||
# proforms a bruteforce sync operation
|
||||
# This needs to be simplified
|
||||
def sync
|
||||
def self.sync
|
||||
customers = get_base.service.query("SELECT Id, DisplayName FROM Customer WHERE Metadata.LastUpdatedTime>'#{Qbo.first.last_sync}' ")
|
||||
|
||||
transaction do
|
||||
|
||||
Reference in new issue
Block a user