Use the right URI for compliance reports

This commit is contained in:
Eli Ribble 2026-04-13 19:25:54 +00:00
parent ffedae0373
commit 9bca15ae7e
No known key found for this signature in database

View file

@ -148,7 +148,7 @@ func populateReportURI(report *types.PublicReport, r *router) error {
var route_name string
switch report.Type {
case "compliance":
route_name = "publicreport.ByIDGet"
route_name = "publicreport.compliance.ByIDGet"
case "nuisance":
route_name = "publicreport.nuisance.ByIDGet"
case "water":