From e09e525ea2c22c9e451d568afa16d38f923b6416 Mon Sep 17 00:00:00 2001 From: Vikhyath Mondreti Date: Thu, 22 Jan 2026 18:28:33 -0800 Subject: [PATCH] consistent target --- apps/sim/lib/core/idempotency/service.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/sim/lib/core/idempotency/service.ts b/apps/sim/lib/core/idempotency/service.ts index d0e942c1e..7a7239f9a 100644 --- a/apps/sim/lib/core/idempotency/service.ts +++ b/apps/sim/lib/core/idempotency/service.ts @@ -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(),