Don't bonk when we have no E164s

This commit is contained in:
Eli Ribble 2026-05-23 01:02:32 +00:00
parent a1aee10412
commit e8f899d098
No known key found for this signature in database
2 changed files with 4 additions and 1 deletions

View file

@ -21,7 +21,7 @@ func ContactSimplesFromIDs(ctx context.Context, txn db.Ex, contact_ids []int64)
}
contact_phones, err := querycomms.ContactPhoneByContactIDs(ctx, txn, contact_ids)
if err != nil {
return nil, fmt.Errorf("contact phones from ids: %w", err)
return nil, fmt.Errorf("contact phone by contact ids: %w", err)
}
e164s := make([]string, 0)
for _, v := range contact_phones {