Browse Source

Fix crash in legacy filter creation controller (#19878)

closed-social-glitch-2
Claire 2 years ago
committed by GitHub
parent
commit
4cb2323458
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/controllers/api/v1/filters_controller.rb

+ 1
- 1
app/controllers/api/v1/filters_controller.rb 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

Loading…
Cancel
Save