about summary refs log tree commit diff
path: root/app/controllers
diff options
context:
space:
mode:
authorClaire <claire.github-309c@sitedethib.com>2022-11-07 03:38:53 +0100
committerGitHub <noreply@github.com>2022-11-07 03:38:53 +0100
commit4cb23234580b12750940f60afc4a2bbace8347e9 (patch)
treee26169d37a57b1c87e7297409c89a8d6f6b66460 /app/controllers
parent54f0f1b9efa73166d5d1dfb475b71111e2a5f2ed (diff)
Fix crash in legacy filter creation controller (#19878)
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/api/v1/filters_controller.rb2
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