Skip to content

Commit

Permalink
Update adapters/telegram/src/polling.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
shigma authored Aug 30, 2023
1 parent a79001f commit 3dd6e9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion adapters/telegram/src/polling.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export class HttpPolling extends Adapter.Client<TelegramBot> {
}
_retryCount++
bot.status = 'reconnect'
this.timeout = setTimeout(() => polling(), retryInterval)
this.timeout = setTimeout(polling, retryInterval)
}
}
polling()
Expand Down

0 comments on commit 3dd6e9d

Please sign in to comment.