Log the time stamp

This commit is contained in:
ricky committed 2023-12-29 19:20:31 -05:00
1 parent 122063b1d5
commit 6760b29148
1 file changed
+3 -1
+3 -1
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