From 755aad534a67bd5230eb68f821be0d5c390fd2b6 Mon Sep 17 00:00:00 2001 From: beatrix Date: Wed, 21 Feb 2018 20:47:17 -0500 Subject: [PATCH] fix typo in image serializer (#6530) respond to! --- app/serializers/activitypub/image_serializer.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/serializers/activitypub/image_serializer.rb b/app/serializers/activitypub/image_serializer.rb index a3ac637b6b5..f8484c87f86 100644 --- 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