2
0
mirror of https://github.com/yagop/node-telegram-bot-api synced 2025-08-29 13:27:44 +00:00

Fix foreach bug

This commit is contained in:
Yago 2016-01-11 18:56:52 +01:00
parent 14f9696c62
commit 5b1bad7525

View File

@ -36,7 +36,7 @@ TelegramBotPolling.prototype._polling = function () {
debug('updated offset: %s', this.offset);
}
this.callback(update);
});
}.bind(this));
}.bind(this))
.catch(function (err) {
debug('polling error: %j', err);