about summary refs log tree commit diff
path: root/app/serializers/activitypub/image_serializer.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/serializers/activitypub/image_serializer.rb')
-rw-r--r--app/serializers/activitypub/image_serializer.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/serializers/activitypub/image_serializer.rb b/app/serializers/activitypub/image_serializer.rb
index a3ac637b6..f8484c87f 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