Fix failing to find matching address with publicreport

This commit is contained in:
Eli Ribble 2026-04-13 17:19:20 +00:00
parent 92f4282674
commit dcab2e1f8f
No known key found for this signature in database
3 changed files with 24 additions and 24 deletions

View file

@ -127,7 +127,7 @@ func (res *publicreportR) UpdateCompliance(ctx context.Context, r *http.Request,
}
report, err := platform.PublicReportUpdateCompliance(ctx, public_id, report_setter, prf.Address, prf.Location)
if err != nil {
return nil, nhttp.NewError("update report: %w", err)
return nil, nhttp.NewError("platform update report compliance: %w", err)
}
return report, nil
}