Skip to content
Snippets Groups Projects
Unverified Commit 4cb23234 authored by Claire's avatar Claire Committed by GitHub
Browse files

Fix crash in legacy filter creation controller (#19878)

parent 54f0f1b9
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment