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

th-downstream
Eugen Rochko 6 years ago committed by GitHub
parent 62c0e112ea
commit 7c9a655933

@ -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…
Cancel
Save