0
0
Fork 0

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

This commit is contained in:
Eugen Rochko 2022-02-10 00:10:16 +01:00 committed by GitHub
parent 5533fa28b6
commit 2f8159baad
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 23 additions and 3 deletions

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