This website works better with JavaScript.
Home
Explore
Help
Sign In
nekobus
/
mastodon_neko
forked from
closed-social/mastodon
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
fix typo in image serializer (
#6530
)
respond to!
master
beatrix
6 years ago
committed by
Eugen Rochko
parent
c71aa468b5
commit
755aad534a
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+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
.
respond
s
_to?
(
:meta
)
&&
object
.
meta
[
'focus'
]
.
is_a?
(
Hash
)
object
.
respond_to?
(
:meta
)
&&
object
.
meta
[
'focus'
]
.
is_a?
(
Hash
)
end
def
focal_point
Write
Preview
Loading…
Cancel
Save