From acd149da3b55e934cd4508707b7aba5d186dd3e4 Mon Sep 17 00:00:00 2001 From: Ognjen Simic Date: Sat, 19 Jul 2025 16:38:42 +0200 Subject: [PATCH 1/2] docs: update triggering.mdx fixing wrong argument numeration for options Update the docs triggering.mdx: text indicating options argument position inside `tasks.trigger` function. Options object is a third argument instead of stated second argument. --- docs/triggering.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/triggering.mdx b/docs/triggering.mdx index 235383796f..fe12f147c0 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"; From 4629257b2a434bf9e483fe43f918b279cd0d7104 Mon Sep 17 00:00:00 2001 From: Ognjen Simic Date: Sat, 19 Jul 2025 20:47:28 +0200 Subject: [PATCH 2/2] update triggering.mdx to change options argument position in batchTrigger --- docs/triggering.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/triggering.mdx b/docs/triggering.mdx index fe12f147c0..4331cf5902 100644 --- a/docs/triggering.mdx +++ b/docs/triggering.mdx @@ -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";