Skip to content
Snippets Groups Projects
Commit 755aad53 authored by beatrix's avatar beatrix Committed by Eugen Rochko
Browse files

fix typo in image serializer (#6530)

respond to!
parent c71aa468
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment