Skip to content

Commit c1a87d4

Browse files
authored
Merge pull request #21 from ringcentral/fix/webhook-offline
fix: webhook response with serverless-offline
2 parents fd02a7f + a16ccfb commit c1a87d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/apps/bot.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ const createApp = (handle: Function, conf: BotConfig) => {
6666
await handle({type: body.eventType, message});
6767
}
6868
res.header('Validation-Token', req.header('Validation-Token'));
69-
res.send('');
69+
res.json({ result: 'ok' });
7070
});
7171

7272
return app;

0 commit comments

Comments
 (0)