about summary refs log tree commit diff
path: root/app/controllers/api/v1
diff options
context:
space:
mode:
authorClaire <claire.github-309c@sitedethib.com>2022-11-07 08:31:36 +0100
committerGitHub <noreply@github.com>2022-11-07 08:31:36 +0100
commitb67e0c94a68e38fce1b996879c9279426cc8647d (patch)
tree4616faef084b1b6eab7d6324ef20b2fb0f75f3c4 /app/controllers/api/v1
parent54101563bbadbfafd9291a867d7fbea6df3a8b7b (diff)
parent7ba13dddfadc4231f8c0643bae5a20018892855b (diff)
Merge pull request #1899 from ClearlyClaire/glitch-soc/merge-upstream
Merge upstream changes
Diffstat (limited to 'app/controllers/api/v1')
-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