Fix wrong target URIs in ActivityPub Add/Remove (#6668)
parent
29f412da2c
commit
8e25857cb9
|
@ -19,6 +19,6 @@ class ActivityPub::AddSerializer < ActiveModel::Serializer
|
|||
end
|
||||
|
||||
def target
|
||||
account_collection_url(object, :featured)
|
||||
account_collection_url(object.account, :featured)
|
||||
end
|
||||
end
|
||||
|
|
|
@ -19,6 +19,6 @@ class ActivityPub::RemoveSerializer < ActiveModel::Serializer
|
|||
end
|
||||
|
||||
def target
|
||||
account_collection_url(object, :featured)
|
||||
account_collection_url(object.account, :featured)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue