Use OrderedCollectionPage to return followers/following list (#4949)
parent
0401a24558
commit
7d16bb379d
@ -1,5 +1,5 @@ |
|||||||
# frozen_string_literal: true |
# frozen_string_literal: true |
||||||
|
|
||||||
class ActivityPub::CollectionPresenter < ActiveModelSerializers::Model |
class ActivityPub::CollectionPresenter < ActiveModelSerializers::Model |
||||||
attributes :id, :type, :size, :items |
attributes :id, :type, :size, :items, :part_of, :first, :next, :prev |
||||||
end |
end |
||||||
|
Loading…
Reference in new issue