]> cat aescling's git repositories - mastodon.git/blobdiff - app/presenters/activitypub/collection_presenter.rb
Use OrderedCollectionPage to return followers/following list (#4949)
[mastodon.git] / app / presenters / activitypub / collection_presenter.rb
index 631d87cd03c38d9e93ff0d704c6e11d652d79e91..39657276f7896828a7e4b739915b6bad17e10650 100644 (file)
@@ -1,5 +1,5 @@
 # frozen_string_literal: true
 
 class ActivityPub::CollectionPresenter < ActiveModelSerializers::Model
-  attributes :id, :type, :size, :items
+  attributes :id, :type, :size, :items, :part_of, :first, :next, :prev
 end
This page took 0.029701 seconds and 3 git commands to generate.