diff --git a/docs/wait-for.mdx b/docs/wait-for.mdx index ab212f573e..0a29cbf2c1 100644 --- a/docs/wait-for.mdx +++ b/docs/wait-for.mdx @@ -38,5 +38,5 @@ You can pass an idempotency key to any wait function, allowing you to skip waits ```ts // Specify the idempotency key and TTL when waiting for a duration: -await wait.for({ seconds: 10 }, { idempotencyKey: "my-idempotency-key", idempotencyKeyTTL: "1h" }); +await wait.for({ seconds: 10, idempotencyKey: "my-idempotency-key", idempotencyKeyTTL: "1h" }); ``` \ No newline at end of file