From 594bf33b0a894b8e39b219a6f5d80203620cfd88 Mon Sep 17 00:00:00 2001 From: Eli Ribble Date: Thu, 21 May 2026 04:25:36 +0000 Subject: [PATCH] Fix updating contact by ID --- db/query/comms/contact.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/query/comms/contact.go b/db/query/comms/contact.go index 2c2bb6ab..b8c55315 100644 --- a/db/query/comms/contact.go +++ b/db/query/comms/contact.go @@ -66,7 +66,7 @@ func ContactUpdateName(ctx context.Context, txn db.Ex, id int64, name string) er SET( table.Contact.Name.SET(postgres.String(name)), ). - WHERE(table.Contact.OrganizationID.EQ(postgres.Int(id))) + WHERE(table.Contact.ID.EQ(postgres.Int(id))) return db.ExecuteNoneTx(ctx, txn, statement) }