mirror of
https://github.com/yagop/node-telegram-bot-api
synced 2025-08-28 21:07:39 +00:00
Merge branch 'icdevin-patch-1'
This commit is contained in:
commit
1dae6121f8
@ -71,7 +71,7 @@ class TelegramBotWebHook {
|
||||
} else if (req.method === 'POST') {
|
||||
req
|
||||
.pipe(bl(this._parseBody))
|
||||
.on('end', () => res.end('OK'));
|
||||
.on('finish', () => res.end('OK'));
|
||||
} else {
|
||||
// Authorized but not a POST
|
||||
debug('WebHook request isn\'t a POST');
|
||||
|
Loading…
x
Reference in New Issue
Block a user