Skip to content
Snippets Groups Projects
Unverified Commit 89a52d62 authored by Eugen Rochko's avatar Eugen Rochko Committed by GitHub
Browse files

Fix wrong target URIs in ActivityPub Add/Remove (#6668)

parent e6520c02
No related branches found
No related tags found
No related merge requests found
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment