Skip to content

Commit

Permalink
add missing non-null assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
dario-piotrowicz committed Oct 3, 2024
1 parent e70a947 commit 0d98fbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cloudflare/src/cli/templates/worker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export default {

const { req, res, webResponse } = getWrappedStreams(request, ctx);

ctx.waitUntil(requestHandler(new NodeNextRequest(req), new NodeNextResponse(res)));
ctx.waitUntil(requestHandler!(new NodeNextRequest(req), new NodeNextResponse(res)));

return await webResponse();
});
Expand Down

0 comments on commit 0d98fbc

Please sign in to comment.