Add missing "created" field on related record
This commit is contained in:
parent
de78151b2f
commit
b41839a5ee
1 changed files with 3 additions and 2 deletions
|
|
@ -113,8 +113,9 @@ func CommunicationRelatedRecords(ctx context.Context, user User, comm *modelpubl
|
||||||
for _, r := range reports_by_address {
|
for _, r := range reports_by_address {
|
||||||
record_type := recordTypeFromReportType(r.ReportType)
|
record_type := recordTypeFromReportType(r.ReportType)
|
||||||
result = append(result, RelatedRecord{
|
result = append(result, RelatedRecord{
|
||||||
ID: r.PublicID,
|
Created: r.Created,
|
||||||
Type: record_type,
|
ID: r.PublicID,
|
||||||
|
Type: record_type,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue