Skip to content
Snippets Groups Projects
Commit fa02f878 authored by Eugen Rochko's avatar Eugen Rochko
Browse files

Fix filter ID not being a string in REST API (#9303)

parent ecc58c0f
No related branches found
No related tags found
No related merge requests found
......@@ -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
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