about summary refs log tree commit diff
path: root/app/services/activitypub/fetch_featured_collection_service.rb
diff options
context:
space:
mode:
authorFire Demon <firedemon@creature.cafe>2020-08-21 00:47:28 -0500
committerFire Demon <firedemon@creature.cafe>2020-08-30 05:45:19 -0500
commit38f78fd1a2045a6641d76b12f7145f39de10ae53 (patch)
tree7fa8399c5a8b7a83603f885e5fcb8417d494adc2 /app/services/activitypub/fetch_featured_collection_service.rb
parentf073087da2cdb8c15dfc0f4b9c2a4967e4714be1 (diff)
[Federation, Revise] Add simple retries to ActivityPub::ProcessCollectionItemsService
Diffstat (limited to 'app/services/activitypub/fetch_featured_collection_service.rb')
-rw-r--r--app/services/activitypub/fetch_featured_collection_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/activitypub/fetch_featured_collection_service.rb b/app/services/activitypub/fetch_featured_collection_service.rb
index a77c03bed..0a20f5edc 100644
--- a/app/services/activitypub/fetch_featured_collection_service.rb
+++ b/app/services/activitypub/fetch_featured_collection_service.rb
@@ -44,7 +44,7 @@ class ActivityPub::FetchFeaturedCollectionService < BaseService
     StatusPin.where(account: @account, status_id: to_remove).delete_all unless to_remove.empty?
 
     to_add.each do |status_id|
-      StatusPin.create!(account: @account, status_id: status_id)
+      StatusPin.create(account: @account, status_id: status_id)
     end
   end