]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/note.rb
Fix eslint errors
[rails.git] / app / models / note.rb
index 24ba6854dea3ec7efb646fca01b267dc4d33b14e..8c61374790af4cf2b65c8099d544753136e9b995 100644 (file)
@@ -45,7 +45,7 @@ class Note < ApplicationRecord
   # Close a note
   def close
     self.status = "closed"
-    self.closed_at = Time.now.getutc
+    self.closed_at = Time.now.utc
     save
   end