Fix activity being rendered within activity due to caching (#11271)
Fix #11270
This commit is contained in:
parent
4e92183227
commit
6172263a63
5 changed files with 0 additions and 10 deletions
|
@ -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? }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue