mirror of
https://git.bsd.gay/fef/nyastodon.git
synced 2024-12-24 18:13:42 +01:00
parent
c71aa468b5
commit
755aad534a
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ class ActivityPub::ImageSerializer < ActiveModel::Serializer
|
||||||
end
|
end
|
||||||
|
|
||||||
def focal_point?
|
def focal_point?
|
||||||
object.responds_to?(:meta) && object.meta['focus'].is_a?(Hash)
|
object.respond_to?(:meta) && object.meta['focus'].is_a?(Hash)
|
||||||
end
|
end
|
||||||
|
|
||||||
def focal_point
|
def focal_point
|
||||||
|
|
Loading…
Reference in a new issue