Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Register
Sign in
Toggle navigation
Menu
Open sidebar
Tiger Ton
mastodon
Commits
fa02f878
Commit
fa02f878
authored
6 years ago
by
Eugen Rochko
Browse files
Options
Download
Email Patches
Plain Diff
Fix filter ID not being a string in REST API (#9303)
parent
ecc58c0f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
app/serializers/rest/filter_serializer.rb
+4
-0
app/serializers/rest/filter_serializer.rb
with
4 additions
and
0 deletions
+4
-0
app/serializers/rest/filter_serializer.rb
+
4
-
0
View file @
fa02f878
...
...
@@ -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
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets