about summary refs log tree commit diff
path: root/app/services
diff options
context:
space:
mode:
Diffstat (limited to 'app/services')
-rw-r--r--app/services/favourite_service.rb3
-rw-r--r--app/services/reblog_service.rb3
2 files changed, 2 insertions, 4 deletions
diff --git a/app/services/favourite_service.rb b/app/services/favourite_service.rb
index 08d2c9c56..b711fb93c 100644
--- a/app/services/favourite_service.rb
+++ b/app/services/favourite_service.rb
@@ -50,8 +50,7 @@ class FavouriteService < BaseService
 
   def curate_status(status)
     return if status.curated || !status.distributable? || (status.reply? && status.in_reply_to_account_id != status.account_id)
-    status.curated = true
-    status.save
+    status.update(curated: true)
     FanOutOnWriteService.new.call(status)
   end
 end
diff --git a/app/services/reblog_service.rb b/app/services/reblog_service.rb
index 8ade09861..e2062d63c 100644
--- a/app/services/reblog_service.rb
+++ b/app/services/reblog_service.rb
@@ -69,8 +69,7 @@ class ReblogService < BaseService
 
   def curate_status(status)
     return if status.curated || !status.distributable? || (status.reply? && status.in_reply_to_account_id != status.account_id)
-    status.curated = true
-    status.save
+    status.update(curated: true)
     FanOutOnWriteService.new.call(status)
   end
 end