Skip to content

Commit

Permalink
workflows: fix variable name (#17799)
Browse files Browse the repository at this point in the history
  • Loading branch information
elithrar authored Oct 26, 2024
1 parent 13d7627 commit 6ee98a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/content/docs/workflows/build/trigger-workflows.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export default {
// If an ?instanceId=<id> query parameter is provided, fetch the status
// of an existing Workflow by its ID.
if (instanceId) {
let instance = await env.MY_WORKFLOW.get(id);
let instance = await env.MY_WORKFLOW.get(instanceId);
return Response.json({
status: await instance.status(),
});
Expand Down

0 comments on commit 6ee98a5

Please sign in to comment.