fix(dl): move duplicate torrent data
ci / rust (pull_request) Successful in 1m9s
ci / web (pull_request) Successful in 6s
e2e / e2e (pull_request) Successful in 1m31s

This commit is contained in:
Miguel Palhas
2026-08-22 19:56:54 +01:00
parent 8d7974e021
commit daadf8abf3
+2 -2
View File
@@ -173,7 +173,7 @@ impl TransmissionClient {
.await?;
self.call(
"torrent-set-location",
json!({"ids": [torrent.id], "location": download_dir, "move": false}),
json!({"ids": [torrent.id], "location": download_dir, "move": true}),
)
.await?;
}
@@ -392,7 +392,7 @@ mod tests {
Mock::given(method("POST"))
.and(body_partial_json(json!({
"method": "torrent-set-location",
"arguments": {"ids": [7], "location": "/downloads", "move": false}
"arguments": {"ids": [7], "location": "/downloads", "move": true}
})))
.respond_with(success())
.expect(1)