From 65c42e5398304273b54916cc90441ade23317d85 Mon Sep 17 00:00:00 2001 From: multiple creatures Date: Fri, 2 Aug 2019 02:30:35 -0500 Subject: filters now have options to separately match post text, content warnings/titles, & hashtags + option to filter threads containing a matching post --- app/controllers/api/v1/filters_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/controllers/api') diff --git a/app/controllers/api/v1/filters_controller.rb b/app/controllers/api/v1/filters_controller.rb index 496964394..48177f41a 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, :irreversible, :whole_word, :exclude_media, :media_only, context: []) + params.permit(:phrase, :expires_in, :irreversible, :whole_word, :exclude_media, :media_only, :status_text, :spoiler, :tags, context: []) end end -- cgit