diff --git a/src/telegramWebHook.js b/src/telegramWebHook.js index 19c209d..b7f8d67 100644 --- a/src/telegramWebHook.js +++ b/src/telegramWebHook.js @@ -45,7 +45,7 @@ class TelegramBotWebHook { } // pipe+parse body - _parseBody = (err, body) => { + _parseBody(err, body) { if (err) { return debug(err); } @@ -59,7 +59,7 @@ class TelegramBotWebHook { } // bound req listener - _requestListener = (req, res) => { + _requestListener(req, res) { debug('WebHook request URL:', req.url); debug('WebHook request headers: %j', req.headers);