Skip to content

Commit e09e525

Browse files
committed
consistent target
1 parent ae113f7 commit e09e525

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/sim/lib/core/idempotency/service.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ export class IdempotencyService {
223223
createdAt: new Date(),
224224
})
225225
.onConflictDoNothing({
226-
target: idempotencyKey.key,
226+
target: [idempotencyKey.key],
227227
})
228228
.returning({ key: idempotencyKey.key })
229229

@@ -329,7 +329,7 @@ export class IdempotencyService {
329329
createdAt: new Date(),
330330
})
331331
.onConflictDoUpdate({
332-
target: idempotencyKey.key,
332+
target: [idempotencyKey.key],
333333
set: {
334334
result: result,
335335
createdAt: new Date(),

0 commit comments

Comments
 (0)