Skip to content

Commit

Permalink
fix(qbit/skiprecheck): not logic operator not applied properly (#675)
Browse files Browse the repository at this point in the history
needed parenthesis around the NOT operator in skip_checking formData
  • Loading branch information
zakkarry committed May 9, 2024
1 parent 0a1685b commit 235c336
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/clients/QBittorrent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ export default class QBittorrent implements TorrentClient {
"contentLayout",
this.getLayoutForNewTorrent(searchee, searcheeInfo, path),
);
formData.append("skip_checking", !toRecheck.toString());
formData.append("skip_checking", (!toRecheck).toString());
formData.append("paused", toRecheck.toString());
// for some reason the parser parses the last kv pair incorrectly
// it concats the value and the sentinel
Expand Down

0 comments on commit 235c336

Please sign in to comment.