mirror of
https://github.com/yagop/node-telegram-bot-api
synced 2025-08-29 13:27:44 +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') {
|
} else if (req.method === 'POST') {
|
||||||
req
|
req
|
||||||
.pipe(bl(this._parseBody))
|
.pipe(bl(this._parseBody))
|
||||||
.on('end', () => res.end('OK'));
|
.on('finish', () => res.end('OK'));
|
||||||
} else {
|
} else {
|
||||||
// Authorized but not a POST
|
// Authorized but not a POST
|
||||||
debug('WebHook request isn\'t a POST');
|
debug('WebHook request isn\'t a POST');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user