diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2019-07-10 00:43:30 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-10 00:43:30 +0200 |
commit | 6172263a63de2e4b2a2aeb9cb30b387622fdd3d6 (patch) | |
tree | 442452ce27137554bfc01f47e2b78e5a7f10753c /app/serializers/activitypub/collection_serializer.rb | |
parent | 4e921832272425352d28cad550bfc4dffd6d0e78 (diff) |
Fix activity being rendered within activity due to caching (#11271)
Fix #11270
Diffstat (limited to 'app/serializers/activitypub/collection_serializer.rb')
-rw-r--r-- | app/serializers/activitypub/collection_serializer.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/app/serializers/activitypub/collection_serializer.rb b/app/serializers/activitypub/collection_serializer.rb index 9dd8134d3..da1ba735f 100644 --- a/app/serializers/activitypub/collection_serializer.rb +++ b/app/serializers/activitypub/collection_serializer.rb @@ -7,8 +7,6 @@ class ActivityPub::CollectionSerializer < ActivityPub::Serializer super end - cache key: 'collection', expires_in: 3.minutes - attribute :id, if: -> { object.id.present? } attribute :type attribute :total_items, if: -> { object.size.present? } |