diff --git a/src/content/docs/workflows/build/rules-of-workflows.mdx b/src/content/docs/workflows/build/rules-of-workflows.mdx index fb6258b2626a123..986e20a697b3c8f 100644 --- a/src/content/docs/workflows/build/rules-of-workflows.mdx +++ b/src/content/docs/workflows/build/rules-of-workflows.mdx @@ -255,7 +255,7 @@ export class MyWorkflow extends WorkflowEntrypoint { let catList = await step.do("get cat list from KV", async () => { return await env.KV.get("cat-list") }) - for(const cat of carList) { + for(const cat of catList) { await step.do(`get cat: ${cat}`, async () => { return await env.KV.get(cat) })