Add category and rule_ids params to POST /api/v1/reports (#17492)

This commit is contained in:
Eugen Rochko authored and GitHub committed 2022-02-10 00:10:16 +01:00
1 parent 5533fa28b6
commit 2f8159baad
4 files changed
+23 -3

No files matched your search

+1 -1
View File
@@ -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