Skip to content

Commit 339f861

Browse files
committed
refactor: update default worker template
1 parent 67a3023 commit 339f861

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/client/components/worker/WorkerEditForm.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ const formSchema = z
6060
}
6161
);
6262

63-
const defaultCode = `function fetch(params) {
63+
const defaultCode = `async function fetch(params) {
6464
return 'Hello, World!';
6565
}
6666
`;

0 commit comments

Comments
 (0)