Use OrderedCollectionPage to return followers/following list (#4949)
parent
b4842ef0b9
commit
e5a634f940
@ -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