Log the time stamp

This commit is contained in:
2023-12-29 19:20:31 -05:00
parent 122063b1d5
commit 6760b29148

View File

@@ -87,8 +87,10 @@ class Qbo < ActiveRecord::Base
# Updates last sync time stamp
def self.update_time_stamp
date = DateTime.now
logger.info "Updating QBO timestamp to #{date}"
qbo = Qbo.first
qbo.last_sync = DateTime.now
qbo.last_sync = date
qbo.save
end