Don't show magic Nidus contact
This commit is contained in:
parent
83f76297b5
commit
821303d7f9
1 changed files with 4 additions and 0 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue