diff options
author | beatrix <beatrix.bitrot@gmail.com> | 2018-02-21 20:47:17 -0500 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2018-02-22 02:47:17 +0100 |
commit | 755aad534a67bd5230eb68f821be0d5c390fd2b6 (patch) | |
tree | e3fca47a8dea02d04ca6a8cbcc39054ebef53283 /app | |
parent | c71aa468b5ce2aed9f9fcd0cc6c0c97166e239d3 (diff) |
fix typo in image serializer (#6530)
respond to!
Diffstat (limited to 'app')
-rw-r--r-- | app/serializers/activitypub/image_serializer.rb | 2 |
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 |