Add concern page to mailer compliance flow
This commit is contained in:
parent
b5923137a7
commit
a8819c907e
11 changed files with 206 additions and 124 deletions
|
|
@ -209,7 +209,7 @@ func (res *complianceR) Update(ctx context.Context, r *http.Request, prf publicr
|
|||
func (res *complianceR) complianceHydrate(report *types.PublicReportCompliance) (*types.PublicReportCompliance, *nhttp.ErrorWithStatus) {
|
||||
populateDistrictURI(&report.PublicReport, res.router)
|
||||
populateReportURI(&report.PublicReport, res.router)
|
||||
for _, e := range report.Evidence {
|
||||
for _, e := range report.Concerns {
|
||||
e.PopulateURL(res.router.router)
|
||||
}
|
||||
return report, nil
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue