consistent target

This commit is contained in:
Vikhyath Mondreti
2026-01-22 18:28:33 -08:00
parent ae113f76fd
commit e09e525ea2

View File

@@ -223,7 +223,7 @@ export class IdempotencyService {
createdAt: new Date(),
})
.onConflictDoNothing({
target: idempotencyKey.key,
target: [idempotencyKey.key],
})
.returning({ key: idempotencyKey.key })
@@ -329,7 +329,7 @@ export class IdempotencyService {
createdAt: new Date(),
})
.onConflictDoUpdate({
target: idempotencyKey.key,
target: [idempotencyKey.key],
set: {
result: result,
createdAt: new Date(),