zen: sync
Some checks are pending
deploy / deploy (push) Waiting to run
Update Nix Hashes / update (push) Waiting to run

This commit is contained in:
Frank 2025-12-10 11:44:37 -05:00
parent 80d1c62818
commit 744a7159e4

View file

@ -588,7 +588,7 @@ export async function handler(
tx
.update(KeyTable)
.set({ timeUsed: sql`now()` })
.where(eq(KeyTable.id, authInfo.apiKeyId)),
.where(and(eq(KeyTable.workspaceID, authInfo.workspaceID), eq(KeyTable.id, authInfo.apiKeyId))),
)
}