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 filter ID not being a string in REST API (
#9303
)
master
Eugen Rochko
6 years ago
committed by
GitHub
parent
d6b9a62e0a
commit
1d38c9750a
No known key found for this signature in database
GPG Key ID:
4AEE18F83AFDEB23
1 changed files
with
4 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+4
-0
app/serializers/rest/filter_serializer.rb
+ 4
- 0
app/serializers/rest/filter_serializer.rb
View File
@ -3,4 +3,8 @@
class
REST
::
FilterSerializer
<
ActiveModel
::
Serializer
attributes
:id
,
:phrase
,
:context
,
:whole_word
,
:expires_at
,
:irreversible
def
id
object
.
id
.
to_s
end
end
Write
Preview
Loading…
Cancel
Save