about summary refs log tree commit diff
path: root/app/controllers/api/v1
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2018-07-07 18:51:45 +0200
committerGitHub <noreply@github.com>2018-07-07 18:51:45 +0200
commit9804ec3a6df7f5fae00443d489eee663e32973da (patch)
tree1e2fce1663be8a295a0b650db8331b7f4f8fb530 /app/controllers/api/v1
parentc24d62220d6d7db30e5c003987d7f7a74060b0a7 (diff)
Fix missing irreversible in filters API, expires_in param (#7976)
Diffstat (limited to 'app/controllers/api/v1')
-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 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