about summary refs log tree commit diff
path: root/app/serializers/activitypub
diff options
context:
space:
mode:
authorbeatrix <beatrix.bitrot@gmail.com>2018-02-21 20:47:17 -0500
committerEugen Rochko <eugen@zeonfederated.com>2018-02-22 02:47:17 +0100
commit755aad534a67bd5230eb68f821be0d5c390fd2b6 (patch)
treee3fca47a8dea02d04ca6a8cbcc39054ebef53283 /app/serializers/activitypub
parentc71aa468b5ce2aed9f9fcd0cc6c0c97166e239d3 (diff)
fix typo in image serializer (#6530)
respond to!
Diffstat (limited to 'app/serializers/activitypub')
-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