diff --git a/_workers/websites-integration/functions/deployments/[id]/index.ts b/_workers/websites-integration/functions/deployments/[id]/index.ts index be2e09652..36d83343e 100644 --- a/_workers/websites-integration/functions/deployments/[id]/index.ts +++ b/_workers/websites-integration/functions/deployments/[id]/index.ts @@ -43,7 +43,7 @@ export const onRequestPost: PagesFunction = async (context) => { let stub: DurableObjectStub; try { - stub = context.env.DEPLOYMENT.getExisting(deploymentId); + stub = context.env.DEPLOYMENT.get(deploymentId); } catch { return json({ id: paramId, message: 'Not found' }, { status: 404 }); }