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

master
Eugen Rochko 7 years ago committed by GitHub
parent e6520c0270
commit 89a52d6280
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      app/serializers/activitypub/add_serializer.rb
  2. 2
      app/serializers/activitypub/remove_serializer.rb

@ -19,6 +19,6 @@ class ActivityPub::AddSerializer < ActiveModel::Serializer
end end
def target def target
account_collection_url(object, :featured) account_collection_url(object.account, :featured)
end end
end end

@ -19,6 +19,6 @@ class ActivityPub::RemoveSerializer < ActiveModel::Serializer
end end
def target def target
account_collection_url(object, :featured) account_collection_url(object.account, :featured)
end end
end end

Loading…
Cancel
Save