Use transactions to set the communication status changes

Not doing it yet, but soon we'll do log entries for them.
This commit is contained in:
Eli Ribble 2026-05-04 20:57:50 +00:00
parent 040ab106b4
commit a95e44cf42
No known key found for this signature in database
8 changed files with 67 additions and 20 deletions

View file

@ -27,5 +27,5 @@ func ServiceMapsFromAccountID(ctx context.Context, account_id string) ([]*model.
func ServiceMapInsert(ctx context.Context, txn bob.Tx, m *model.ServiceMap) error {
statement := table.ServiceMap.INSERT(table.ServiceMap.MutableColumns).
MODEL(m)
return db.ExecuteNoneTx(ctx, txn, statement)
return db.ExecuteNoneTxBob(ctx, txn, statement)
}