Open-source document signature platform. Not affiliated with DocuSign.
TypeScript
Merge the second round of endpoint fixes into the webhooks branch
Claude69f50efd2677
diff --cc src/lib/api-keys.dbtest.tsindex 7269b54,19d441e..9ee704a--- a/src/lib/api-keys.dbtest.ts+++ b/src/lib/api-keys.dbtest.ts@@@ -264,14 -293,12 +265,12 @@@ test("removing an administrator takes tsummary.id,]);- const roleChange = setPersonRole(- stays.userId,- leaves.userId,- "user",- database,- );+ roleChange = setPersonRole(stays.userId, leaves.userId, "user", database);+ // Handled at once, so a failure before it waits is reported below+ // instead of as an unhandled rejection.+ roleChange.catch(() => undefined);- await waitUntilBlockedBy(holder);+ await waitUntilBlockedBy(database, holder);const free = await holder.query<{ locked: boolean }>(`select pg_try_advisory_xact_lock($1) as locked`,