Fix tracking report type through the system

This commit is contained in:
Eli Ribble 2026-03-18 19:25:52 +00:00
parent 5cfd16e6a0
commit 28714b06b8
No known key found for this signature in database
3 changed files with 5 additions and 1 deletions

View file

@ -36,7 +36,7 @@ func listCommunication(ctx context.Context, r *http.Request, user platform.User,
Created: report.Created,
ID: report.PublicID,
PublicReport: report,
Type: "nuisance",
Type: "publicreport." + string(report.Type),
}
}
_by_created := func(a, b communication) int {