Don't show magic Nidus contact

This commit is contained in:
Eli Ribble 2026-05-18 15:22:24 +00:00
parent 83f76297b5
commit 821303d7f9
No known key found for this signature in database

View file

@ -30,6 +30,10 @@ func ContactsForOrganization(ctx context.Context, org_id int32) (results []types
results = make([]types.Contact, 0)
for _, row := range rows {
// Exclude the magic Nidus contact
if row.ID == 1 {
continue
}
contact_emails := contact_emails_by_contact_id[int64(row.ID)]
emails := make([]string, len(contact_emails))
for i, e := range contact_emails {