0
0
Fork 0

Remove unused ActivityPub @context values depending on response (#10378)

Fix #8078
This commit is contained in:
Eugen Rochko 2019-03-27 15:55:23 +01:00 committed by GitHub
parent a91acf79b5
commit 11fe293e1b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
28 changed files with 234 additions and 60 deletions

View file

@ -1,6 +1,6 @@
# frozen_string_literal: true
class ActivityPub::UndoLikeSerializer < ActiveModel::Serializer
class ActivityPub::UndoLikeSerializer < ActivityPub::Serializer
attributes :id, :type, :actor
has_one :object, serializer: ActivityPub::LikeSerializer