1
0
mirror of https://github.com/funamitech/mastodon synced 2024-11-28 06:48:45 +09:00

fix typo in image serializer (#6530)

respond to!
This commit is contained in:
beatrix 2018-02-21 20:47:17 -05:00 committed by Eugen Rochko
parent c71aa468b5
commit 755aad534a

View File

@ -19,7 +19,7 @@ class ActivityPub::ImageSerializer < ActiveModel::Serializer
end
def focal_point?
object.responds_to?(:meta) && object.meta['focus'].is_a?(Hash)
object.respond_to?(:meta) && object.meta['focus'].is_a?(Hash)
end
def focal_point