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(),