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

This commit is contained in:
Eugen Rochko 2018-03-07 05:58:24 +01:00 committed by GitHub
parent e6520c0270
commit 89a52d6280
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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