Fix crash in legacy filter creation controller (#19878)

lolsob-rspec
Claire 2022-11-07 03:38:53 +01:00 committed by GitHub
parent 149a8246d2
commit bfb8121e94
1 changed files with 1 additions and 1 deletions

View File

@ -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