diff options
author | Claire <claire.github-309c@sitedethib.com> | 2022-11-07 03:38:53 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-07 03:38:53 +0100 |
commit | 4cb23234580b12750940f60afc4a2bbace8347e9 (patch) | |
tree | e26169d37a57b1c87e7297409c89a8d6f6b66460 /app/controllers/api/v1 | |
parent | 54f0f1b9efa73166d5d1dfb475b71111e2a5f2ed (diff) |
Fix crash in legacy filter creation controller (#19878)
Diffstat (limited to 'app/controllers/api/v1')
-rw-r--r-- | app/controllers/api/v1/filters_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/api/v1/filters_controller.rb b/app/controllers/api/v1/filters_controller.rb index 07cd14147..149139b40 100644 --- a/app/controllers/api/v1/filters_controller.rb +++ b/app/controllers/api/v1/filters_controller.rb @@ -52,7 +52,7 @@ class Api::V1::FiltersController < Api::BaseController end def resource_params - params.permit(:phrase, :expires_in, :irreversible, :whole_word, context: []) + params.permit(:phrase, :expires_in, :irreversible, context: []) end def filter_params |