diff --git a/docs/triggering.mdx b/docs/triggering.mdx index 235383796f..4331cf5902 100644 --- a/docs/triggering.mdx +++ b/docs/triggering.mdx @@ -66,7 +66,7 @@ export async function POST(request: Request) { } ``` -You can pass in options to the task using the second argument: +You can pass in options to the task using the third argument: ```ts Your backend import { tasks } from "@trigger.dev/sdk/v3"; @@ -117,7 +117,7 @@ export async function POST(request: Request) { } ``` -You can pass in options to the `batchTrigger` function using the second argument: +You can pass in options to the `batchTrigger` function using the third argument: ```ts Your backend import { tasks } from "@trigger.dev/sdk/v3";