Fix foreach bug

experimental
Yago 10 years ago
parent 14f9696c62
commit 5b1bad7525
  1. 2
      src/telegramPolling.js

@ -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);

Loading…
Cancel
Save