8000 fix(cloudflare): DOStateStore init uploads a worker and not a version… · sam-goodwin/alchemy@30cc642 · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
8000

Commit 30cc642

Browse files
authored
fix(cloudflare): DOStateStore init uploads a worker and not a version (#447)
1 parent 107e79d commit 30cc642

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

alchemy/src/cloudflare/do-state-store/internal.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ export async function upsertStateStoreWorker(
152152

153153
// Put the worker with migration tag v1
154154
const response = await api.post(
155-
`/accounts/${api.accountId}/workers/scripts/${workerName}/versions`,
155+
`/accounts/${api.accountId}/workers/scripts/${workerName}`,
156156
formData,
157157
);
158158
if (!response.ok) {

0 commit comments

Comments
 (0)
0