parent
c7d2619ab1
commit
774b8661bc
3 changed files with 2 additions and 24 deletions
|
@ -3,7 +3,7 @@
|
|||
class ActivityPub::RejectFollowSerializer < ActiveModel::Serializer
|
||||
attributes :id, :type, :actor
|
||||
|
||||
has_one :object, serializer: ActivityPub::InverseFollowSerializer
|
||||
has_one :object, serializer: ActivityPub::FollowSerializer
|
||||
|
||||
def id
|
||||
[ActivityPub::TagManager.instance.uri_for(object.target_account), '#rejects/follows/', object.id].join
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue