fix typo in image serializer (#6530)

respond to!
lolsob-rspec
beatrix 2018-02-21 20:47:17 -05:00 committed by Eugen Rochko
parent ad1f541bd7
commit 9184d588c1
1 changed files with 1 additions and 1 deletions

View File

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