0
0
Fork 0

Minor ActivityPub JSON fixes (#4214)

- Objects must have attributedTo instead of actor
- The current attribute belongs to CollectionPage, not Collection
This commit is contained in:
Eugen Rochko 2017-07-16 10:28:55 +02:00 committed by GitHub
parent 35b868eeca
commit a6328fc1b1
7 changed files with 4 additions and 9 deletions

View file

@ -1,5 +1,5 @@
# frozen_string_literal: true
class ActivityPub::CollectionPresenter < ActiveModelSerializers::Model
attributes :id, :type, :current, :size, :items
attributes :id, :type, :size, :items
end