We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aa99db6 commit e0d301aCopy full SHA for e0d301a
apps/sim/lib/core/idempotency/service.ts
@@ -228,7 +228,9 @@ export class IdempotencyService {
228
result: inProgressResult,
229
createdAt: new Date(),
230
})
231
- .onConflictDoNothing()
+ .onConflictDoNothing({
232
+ target: [idempotencyKey.key, idempotencyKey.namespace],
233
+ })
234
.returning({ key: idempotencyKey.key })
235
236
if (insertResult.length > 0) {
0 commit comments