Skip to content

Commit

Permalink
add type for request
Browse files Browse the repository at this point in the history
  • Loading branch information
mdtanrikulu committed Dec 18, 2023
1 parent 25a9b9c commit 090d659
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/worker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const routeHandler = (env: ENV, trackEvent?: Function) => {
return app;
};

const logResult = async (request, result: Response) => {
const logResult = async (request: CFWRequest, result: Response) => {
if (!result.body) {
return result;
}
Expand Down

0 comments on commit 090d659

Please sign in to comment.