Fix bug, need break in switch

This commit is contained in:
Delta 2023-09-16 17:31:39 -04:00
parent 1ecf246d58
commit 31e8370841

View file

@ -24,6 +24,7 @@ let torrentClient: ITorrentClient;
switch (config.bittorrentClient.toLocaleLowerCase()) { // case insensitive match
case "qbittorrent":
torrentClient = new QBittorrentClient(config.delugeUrl, config.bittorrentUsername, config.delugePassword)
break;
case "deluge":
default:
torrentClient = new DelugeClient(config.delugeUrl, config.delugePassword, config.delugeHostId)