From faeb7ded3b5d595910f424fd9cf9c6fe5935e648 Mon Sep 17 00:00:00 2001 From: tobi <31960611+tsmethurst@users.noreply.github.com> Date: Wed, 25 Jan 2023 11:12:17 +0100 Subject: [feature] Implement reports admin API so admins can view + close reports (#1378) * add admin report api endpoints + tests * [chore] remove funky duplicate attachment in testrig --- internal/api/model/report.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/api/model/report.go') diff --git a/internal/api/model/report.go b/internal/api/model/report.go index a994bdf02..73df79538 100644 --- a/internal/api/model/report.go +++ b/internal/api/model/report.go @@ -38,7 +38,7 @@ type Report struct { // If an action was taken, what comment was made by the admin on the taken action? // Will be null if not set / no action yet taken. // example: Account was suspended. - ActionComment *string `json:"action_taken_comment"` + ActionTakenComment *string `json:"action_taken_comment"` // Under what category was this report created? // example: spam Category string `json:"category"` -- cgit v1.2.3