Skip to content

Commit 719fd00

Browse files
korinne1000hz
andauthored
Update src/content/changelog/workers/2025-09-03-new-workers-api.mdx
Co-authored-by: Cina Saffary <[email protected]>
1 parent 1ba1a28 commit 719fd00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/changelog/workers/2025-09-03-new-workers-api.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ const worker = await client.workers.beta.workers.create({
6868
// Step 2: Development team adds code and creates a version later
6969
const version = await client.workers.beta.workers.versions.create(worker.id, {
7070
account_id: "...",
71-
main_module: "payment-service-script",
71+
main_module: "worker.js",
7272
compatibility_date: "$today",
7373
bindings: [ /*...*/ ],
7474
modules: [

0 commit comments

Comments
 (0)