diff options
author | multiple creatures <dev@multiple-creature.party> | 2019-10-09 19:42:51 -0500 |
---|---|---|
committer | multiple creatures <dev@multiple-creature.party> | 2019-10-09 19:42:51 -0500 |
commit | 999ac0672355fe7aa6f57563097a173ed20b99d9 (patch) | |
tree | c929634fd5bcf722c1c80981213600ad89ad401f /app/controllers/api | |
parent | ce6a7055159a169ca38162eb2e38825f9331c8d9 (diff) |
custom filters can now match media descriptions
Diffstat (limited to 'app/controllers/api')
-rw-r--r-- | app/controllers/api/v1/filters_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/api/v1/filters_controller.rb b/app/controllers/api/v1/filters_controller.rb index 6cba4b23f..6b8b82285 100644 --- a/app/controllers/api/v1/filters_controller.rb +++ b/app/controllers/api/v1/filters_controller.rb @@ -43,6 +43,6 @@ class Api::V1::FiltersController < Api::BaseController end def resource_params - params.permit(:phrase, :expires_in, :whole_word, :exclude_media, :media_only, :status_text, :spoiler, :tags, :custom_cw, :override_cw, context: []) + params.permit(:phrase, :expires_in, :whole_word, :exclude_media, :media_only, :status_text, :spoiler, :tags, :custom_cw, :override_cw, :desc, context: []) end end |