Skip to content

Commit

Permalink
websites-integration: fix binding
Browse files Browse the repository at this point in the history
  • Loading branch information
cometkim committed Jun 7, 2024
1 parent 4084126 commit 51720d1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export const onRequestPost: PagesFunction<Env, 'id'> = async (context) => {

let stub: DurableObjectStub<Deployment>;
try {
stub = context.env.DEPLOYMENT.getExisting(deploymentId);
stub = context.env.DEPLOYMENT.get(deploymentId);
} catch {
return json({ id: paramId, message: 'Not found' }, { status: 404 });
}
Expand Down

0 comments on commit 51720d1

Please sign in to comment.