Skip to content

Commit 541e17a

Browse files
authored
Fix: Typo on overview.mdx
the import helloWorldTask wasn't called correctly at an example
1 parent adf5970 commit 541e17a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/tasks/overview.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ import { helloWorldTask } from "./trigger/hello-world";
3737

3838
async function triggerHelloWorld() {
3939
//This triggers the task and returns a handle
40-
const handle = await helloWorld.trigger({ message: "Hello world!" });
40+
const handle = await helloWorldTask.trigger({ message: "Hello world!" });
4141

4242
//You can use the handle to check the status of the task, cancel and retry it.
4343
console.log("Task is running with handle", handle.id);

0 commit comments

Comments
 (0)