1
0
mirror of https://github.com/mastodon/mastodon synced 2024-12-30 14:38:17 +09:00
mastodon/app/presenters/activitypub/collection_presenter.rb
Eugen Rochko a6328fc1b1 Minor ActivityPub JSON fixes (#4214)
- Objects must have attributedTo instead of actor
- The current attribute belongs to CollectionPage, not Collection
2017-07-16 10:28:55 +02:00

6 lines
145 B
Ruby

# frozen_string_literal: true
class ActivityPub::CollectionPresenter < ActiveModelSerializers::Model
attributes :id, :type, :size, :items
end