Fix creation of nuisance reports
Some checks failed
/ golint (push) Failing after 9s

Issue: #9
This commit is contained in:
Eli Ribble 2026-05-20 23:16:18 +00:00
parent 9d1063187a
commit 72eef554ea
No known key found for this signature in database

View file

@ -31,14 +31,14 @@ func ContactEmptyForOrganization(ctx context.Context, txn db.Ex, org_id int64) (
postgres.NOT( postgres.NOT(
postgres.EXISTS( postgres.EXISTS(
postgres.SELECT( postgres.SELECT(
postgres.Int(1), postgres.RawInt("1"),
).FROM(table.ContactEmail). ).FROM(table.ContactEmail).
WHERE(table.ContactEmail.ContactID.EQ(table.Contact.ID)), WHERE(table.ContactEmail.ContactID.EQ(table.Contact.ID)),
)), )),
postgres.NOT( postgres.NOT(
postgres.EXISTS( postgres.EXISTS(
postgres.SELECT( postgres.SELECT(
postgres.Int(1), postgres.RawInt("1"),
).FROM(table.ContactPhone). ).FROM(table.ContactPhone).
WHERE(table.ContactPhone.ContactID.EQ(table.Contact.ID)), WHERE(table.ContactPhone.ContactID.EQ(table.Contact.ID)),
)), )),