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
28 changed files with 234 additions and 60 deletions

View File

@ -1,7 +1,7 @@
# frozen_string_literal: true
class ActivityPub::VoteSerializer < ActiveModel::Serializer
class NoteSerializer < ActiveModel::Serializer
class ActivityPub::VoteSerializer < ActivityPub::Serializer
class NoteSerializer < ActivityPub::Serializer
attributes :id, :type, :name, :attributed_to,
:in_reply_to, :to