Skip to content

Commit

Permalink
Fix crash in legacy filter creation controller (mastodon#19878)
Browse files Browse the repository at this point in the history
  • Loading branch information
ClearlyClaire authored Nov 7, 2022
1 parent 54f0f1b commit 4cb2323
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/api/v1/filters_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def set_filter
end

def resource_params
params.permit(:phrase, :expires_in, :irreversible, :whole_word, context: [])
params.permit(:phrase, :expires_in, :irreversible, context: [])
end

def filter_params
Expand Down

0 comments on commit 4cb2323

Please sign in to comment.