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:
@@ -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