Fix tracking report type through the system
This commit is contained in:
parent
5cfd16e6a0
commit
28714b06b8
3 changed files with 5 additions and 1 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue