Browse Source

Fix recheck command for v2

pull/523/head
Phillip Dykman 5 years ago
parent
commit
c48ccf97ef
  1. 2
      app/src/main/java/org/transdroid/daemon/Qbittorrent/QbittorrentAdapter.java

2
app/src/main/java/org/transdroid/daemon/Qbittorrent/QbittorrentAdapter.java

@ -422,7 +422,7 @@ public class QbittorrentAdapter implements IDaemonAdapter {
} else { } else {
path = "/command/recheck"; path = "/command/recheck";
} }
makeRequest(log, path, new BasicNameValuePair("hash", task.getTargetTorrent().getUniqueID())); makeRequest(log, path, new BasicNameValuePair("hashes", task.getTargetTorrent().getUniqueID()));
return new DaemonTaskSuccessResult(task); return new DaemonTaskSuccessResult(task);
case ToggleSequentialDownload: case ToggleSequentialDownload:

Loading…
Cancel
Save