Add missing "created" field on related record

This commit is contained in:
Eli Ribble 2026-05-12 17:28:33 +00:00
parent de78151b2f
commit b41839a5ee
No known key found for this signature in database

View file

@ -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,
}) })
} }
} }