Incorrect type for Promise: the Promise did not re...
# workers-help
m
I'm using the
itty-router
for routing
Copy code
typescript
export default {
  fetch: async (request: Request, env: Env, context: Context) => {
    context.slack = new Slack(env.SLACK_APP_BOT_TOKEN);
    context.waitUntil(router.handle(request, env, context));
  },
};
k
You're not returning any Response there
Your
fetch
handler should return a
Response
or
Promise<Response>