From 9804ec3a6df7f5fae00443d489eee663e32973da Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Sat, 7 Jul 2018 18:51:45 +0200 Subject: Fix missing irreversible in filters API, expires_in param (#7976) --- app/controllers/api/v1/filters_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/controllers/api/v1/filters_controller.rb') diff --git a/app/controllers/api/v1/filters_controller.rb b/app/controllers/api/v1/filters_controller.rb index 02efd323b..a98080d1d 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_at, :irreversible, context: []) + params.permit(:phrase, :expires_in, :irreversible, context: []) end end -- cgit