Fix failing to find matching address with publicreport
This commit is contained in:
parent
92f4282674
commit
dcab2e1f8f
3 changed files with 24 additions and 24 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue