Skip to content

Commit 1ba1a28

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 ac91776 commit 1ba1a28

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
@@ -58,7 +58,7 @@ The new API enables proper separation of concerns between infrastructure and app
5858
```ts
5959
// Step 1: Platform team creates the Worker resource (no code needed)
6060
const worker = await client.workers.beta.workers.create({
61-
"payment-service",
61+
name: "payment-service",
6262
account_id: "...",
6363
observability: {
6464
enabled: true,

0 commit comments

Comments
 (0)