Commit 57f3dd23 authored by Alibek Omarov's avatar Alibek Omarov

api/v1/filters: fix incorrect key for whole_word

parent 01cc93b6
Pipeline #24909 passed with stages
in 10 minutes and 59 seconds
......@@ -36,7 +36,7 @@ def create(
phrase: phrase,
context: context,
hide: Map.get(params, "irreversible", false),
whole_word: Map.get(params, "boolean", true)
whole_word: Map.get(params, "whole_word", true)
# expires_at
}
......@@ -63,7 +63,7 @@ def update(
phrase: phrase,
context: context,
hide: Map.get(params, "irreversible", nil),
whole_word: Map.get(params, "boolean", true)
whole_word: Map.get(params, "whole_word", true)
# expires_at
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment