Skip to content

Commit a79337a

Browse files
committed
docs: fix wait.for() idempotency example to use a single options object
1 parent 82bdd1f commit a79337a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/wait-for.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,5 +38,5 @@ You can pass an idempotency key to any wait function, allowing you to skip waits
3838

3939
```ts
4040
// Specify the idempotency key and TTL when waiting for a duration:
41-
await wait.for({ seconds: 10 }, { idempotencyKey: "my-idempotency-key", idempotencyKeyTTL: "1h" });
41+
await wait.for({ seconds: 10, idempotencyKey: "my-idempotency-key", idempotencyKeyTTL: "1h" });
4242
```

0 commit comments

Comments
 (0)