Remove unused ActivityPub @context
values depending on response (#10378)
Fix #8078
This commit is contained in:
@ -1,8 +1,10 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
class ActivityPub::ImageSerializer < ActiveModel::Serializer
|
||||
class ActivityPub::ImageSerializer < ActivityPub::Serializer
|
||||
include RoutingHelper
|
||||
|
||||
context_extensions :focal_point
|
||||
|
||||
attributes :type, :media_type, :url
|
||||
attribute :focal_point, if: :focal_point?
|
||||
|
||||
|
Reference in New Issue
Block a user