mirror of
https://github.com/simstudioai/sim.git
synced 2026-01-23 05:47:59 -05:00
consistent target
This commit is contained in:
@@ -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(),
|
||||
|
||||
Reference in New Issue
Block a user