Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
windka committed Dec 12, 2021
1 parent c1e2d08 commit 1a1ceeb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions telegrambot/99-telegrambot.js
Original file line number Diff line number Diff line change
Expand Up @@ -413,8 +413,7 @@ module.exports = function (RED) {
} else if (self.telegramBot._webHook) {
self.telegramBot.deleteWebHook();
self.telegramBot.closeWebHook().then(setStatusDisconnected);
}
else {
} else {
setStatusDisconnected();
}
} else {
Expand Down

0 comments on commit 1a1ceeb

Please sign in to comment.