Skip to content

Commit 6ee98a5

Browse files
authored
workflows: fix variable name (#17799)
1 parent 13d7627 commit 6ee98a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/docs/workflows/build/trigger-workflows.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ export default {
6868
// If an ?instanceId=<id> query parameter is provided, fetch the status
6969
// of an existing Workflow by its ID.
7070
if (instanceId) {
71-
let instance = await env.MY_WORKFLOW.get(id);
71+
let instance = await env.MY_WORKFLOW.get(instanceId);
7272
return Response.json({
7373
status: await instance.status(),
7474
});

0 commit comments

Comments
 (0)