diff --git a/docs/tasks/overview.mdx b/docs/tasks/overview.mdx index cb99c900f1..2f0c7961f1 100644 --- a/docs/tasks/overview.mdx +++ b/docs/tasks/overview.mdx @@ -33,7 +33,7 @@ You can trigger this in two ways: Here's how to trigger a single run from elsewhere in your code: ```ts Your backend code -import { helloWorldTask } from "./trigger/hello-world"; +import { helloWorld } from "./trigger/hello-world"; async function triggerHelloWorld() { //This triggers the task and returns a handle