mirror of
https://framagit.org/tykayn/mastodon.git
synced 2023-08-25 08:33:12 +02:00
Fix crash in legacy filter creation controller (#19878)
This commit is contained in:
parent
54f0f1b9ef
commit
4cb2323458
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user