about summary refs log tree commit diff
path: root/app/controllers/api
diff options
context:
space:
mode:
authormultiple creatures <dev@multiple-creature.party>2019-10-09 20:01:45 -0500
committermultiple creatures <dev@multiple-creature.party>2019-10-09 20:01:45 -0500
commita9a13421269650b0600008d74ab7c97f386e5618 (patch)
tree79c0c9ac51e376a219042e49f692b9c5bb32adda /app/controllers/api
parent999ac0672355fe7aa6f57563097a173ed20b99d9 (diff)
custom filters can now also match posts with missing media descriptions
Diffstat (limited to 'app/controllers/api')
-rw-r--r--app/controllers/api/v1/filters_controller.rb2
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 6b8b82285..8194480fa 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, :desc, context: [])
+    params.permit(:phrase, :expires_in, :whole_word, :exclude_media, :media_only, :status_text, :spoiler, :tags, :custom_cw, :override_cw, :desc, :no_desc, context: [])
   end
 end