This commit is contained in:
parent
8b203908a0
commit
725945d95c
22 changed files with 381 additions and 135 deletions
|
|
@ -143,13 +143,13 @@ func reportQueryToRows(ctx context.Context, reports []modelpublicreport.Report,
|
|||
DistrictID: &row.OrganizationID,
|
||||
District: nil,
|
||||
PublicID: row.PublicID,
|
||||
Reporter: types.Contact{
|
||||
CanSMS: &row.ReporterPhoneCanSms,
|
||||
Email: &row.ReporterEmail,
|
||||
HasEmail: row.ReporterEmail != "",
|
||||
HasPhone: row.ReporterPhone != "",
|
||||
Name: row.ReporterName,
|
||||
Phone: &row.ReporterPhone,
|
||||
Reporter: types.ContactReporter{
|
||||
Email: row.ReporterEmail,
|
||||
Name: row.ReporterName,
|
||||
Phone: types.PhoneReporter{
|
||||
CanSMS: row.ReporterPhoneCanSms,
|
||||
Number: row.ReporterPhone,
|
||||
},
|
||||
},
|
||||
Status: row.Status.String(),
|
||||
Type: row.ReportType.String(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue