Skip to content

Commit b9a2a2e

Browse files
Update src/content/docs/workflows/build/workers-api.mdx
Co-authored-by: Matt Silverlock <[email protected]>
1 parent d9d2eb0 commit b9a2a2e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/docs/workflows/build/workers-api.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ Each element of the `batch` list is expected to the
280280
// Create a new batch of 3 Workflow instances, each with its own ID and pass params to the Workflow instances
281281
const listOfInstances = [
282282
{ id: "id-abc123", params: { "hello": "world-0" } },
283-
{ id: "idFromBatch1", params: { "hello": "world-1" } },
283+
{ id: "id-def456", params: { "hello": "world-1" } },
284284
{ id: "idFromBatch2", params: { "hello": "world-2" } }
285285
];
286286
let instances = await env.MY_WORKFLOW.createBatch(listOfInstances);

0 commit comments

Comments
 (0)