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,6 +113,7 @@ 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{
Created: r.Created,
ID: r.PublicID, ID: r.PublicID,
Type: record_type, Type: record_type,
}) })