mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-11-26 12:31:36 +01:00
Fix filter ID not being a string in REST API (#9303)
This commit is contained in:
parent
d6b9a62e0a
commit
1d38c9750a
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue