Add address raw content to report

This populates the address in the compliance flow UI
This commit is contained in:
Eli Ribble 2026-04-29 19:29:42 +00:00
parent 53ce100859
commit af39a73e8f
No known key found for this signature in database
2 changed files with 8 additions and 1 deletions

View file

@ -90,6 +90,7 @@ func reportQueryToRows(ctx context.Context, query bob.BaseQuery[*dialect.SelectQ
if row.Location.Latitude == 0.0 || row.Location.Longitude == 0.0 {
row.Location = nil
}
row.Address.Raw = types.AddressToRaw(row.Address)
results[i] = &row
}
return results, nil