about summary refs log tree commit diff
path: root/app/controllers/api
diff options
context:
space:
mode:
authorClaire <claire.github-309c@sitedethib.com>2022-11-07 07:50:47 +0100
committerClaire <claire.github-309c@sitedethib.com>2022-11-07 07:50:47 +0100
commit6c0a6097ff7ddc23e9f024d3826a4f7cc1520f69 (patch)
tree31a15cf4bc3b319d675ebfe7b0351f9c2837cea3 /app/controllers/api
parent54101563bbadbfafd9291a867d7fbea6df3a8b7b (diff)
parenta70e2cd649cbd82d534f03202fb3078a4ae1af1d (diff)
Merge branch 'main' into glitch-soc/merge-upstream
Diffstat (limited to 'app/controllers/api')
-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