Add missing action logging to api/v1/admin/reports#update (#29044)
This commit is contained in:
@@ -35,6 +35,7 @@ class Api::V1::Admin::ReportsController < Api::BaseController
|
||||
def update
|
||||
authorize @report, :update?
|
||||
@report.update!(report_params)
|
||||
log_action :update, @report
|
||||
render json: @report, serializer: REST::Admin::ReportSerializer
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user