Don't delete the torrent when it's finished when it comes from the QBittorrentAPI, let the caller handle deletion
This commit is contained in:
parent
731daddc99
commit
5234f6cad3
1 changed files with 2 additions and 2 deletions
|
|
@ -222,7 +222,7 @@ namespace RdtClient.Web.Controllers
|
|||
|
||||
foreach (var url in urls)
|
||||
{
|
||||
await _qBittorrent.TorrentsAdd(url.Trim(), true, true);
|
||||
await _qBittorrent.TorrentsAdd(url.Trim(), true, false);
|
||||
}
|
||||
|
||||
return Ok();
|
||||
|
|
@ -242,7 +242,7 @@ namespace RdtClient.Web.Controllers
|
|||
await file.CopyToAsync(target);
|
||||
var fileBytes = target.ToArray();
|
||||
|
||||
await _qBittorrent.TorrentsAddFile(fileBytes, true, true);
|
||||
await _qBittorrent.TorrentsAddFile(fileBytes, true, false);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue