logo

mastofe

My custom branche(s) on git.pleroma.social/pleroma/mastofe
commit: 755aad534a67bd5230eb68f821be0d5c390fd2b6
parent: c71aa468b5ce2aed9f9fcd0cc6c0c97166e239d3
Author: beatrix <beatrix.bitrot@gmail.com>
Date:   Wed, 21 Feb 2018 20:47:17 -0500

fix typo in image serializer (#6530)

respond to!

Diffstat:

Mapp/serializers/activitypub/image_serializer.rb2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/serializers/activitypub/image_serializer.rb b/app/serializers/activitypub/image_serializer.rb @@ -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