Browse Source

fix typo in image serializer (#6530)

respond to!
master
beatrix 6 years ago
committed by Eugen Rochko
parent
commit
755aad534a
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/serializers/activitypub/image_serializer.rb

+ 1
- 1
app/serializers/activitypub/image_serializer.rb View File

@ -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

Loading…
Cancel
Save