Eugen Rochko
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
2 additions and
2 deletions
-
app/serializers/activitypub/add_serializer.rb
-
app/serializers/activitypub/remove_serializer.rb
|
|
@@ -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 |