diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2022-02-10 00:10:16 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-10 00:10:16 +0100 |
commit | 2f8159baada8dcb59eb185732b8d9501401f8a83 (patch) | |
tree | 72dbe1639971ca8c5b7ebd1107d61781a4ae2dce /app/controllers/api/v1 | |
parent | 5533fa28b6cb6ca71775b716a515c1745f76bf02 (diff) |
Add `category` and `rule_ids` params to `POST /api/v1/reports` (#17492)
Diffstat (limited to 'app/controllers/api/v1')
-rw-r--r-- | app/controllers/api/v1/reports_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/api/v1/reports_controller.rb b/app/controllers/api/v1/reports_controller.rb index e10083d45..052d70cc8 100644 --- a/app/controllers/api/v1/reports_controller.rb +++ b/app/controllers/api/v1/reports_controller.rb @@ -33,6 +33,6 @@ class Api::V1::ReportsController < Api::BaseController end def report_params - params.permit(:account_id, :comment, :forward, status_ids: []) + params.permit(:account_id, :comment, :category, :forward, status_ids: [], rule_ids: []) end end |