We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 82ce579 + 9304b04 commit de41377Copy full SHA for de41377
src/apps/bot.ts
@@ -17,7 +17,8 @@ const createApp = (handle: Function, conf: BotConfig) => {
17
})) as BotType;
18
await bot.setupWebHook(); // this might take a while, depends on when the bot user is ready
19
await handle({type: 'BotAdded', bot});
20
- res.send('');
+ res.status(200);
21
+ res.send('ok'); // return string to fix issue for serverless-offline
22
});
23
24
app.post('/webhook', async (req, res) => {
0 commit comments