Fix adding torrent via file
it was a reference conflict between System.Io.File and TorBoxNet.File, but committing anyways to make sure i don't forget that i fixed it
This commit is contained in:
parent
e60059a5bd
commit
e20dd84e1d
2 changed files with 1 additions and 2 deletions
|
|
@ -22,7 +22,7 @@
|
||||||
<PackageReference Include="Serilog" Version="4.0.0" />
|
<PackageReference Include="Serilog" Version="4.0.0" />
|
||||||
<PackageReference Include="Serilog.Sinks.File" Version="6.0.0" />
|
<PackageReference Include="Serilog.Sinks.File" Version="6.0.0" />
|
||||||
<PackageReference Include="SharpCompress" Version="0.37.2" />
|
<PackageReference Include="SharpCompress" Version="0.37.2" />
|
||||||
<PackageReference Include="TorBox.NET" Version="1.0.0.25" />
|
<PackageReference Include="TorBox.NET" Version="1.0.0.31" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|
|
||||||
|
|
@ -104,7 +104,6 @@ public class TorBoxTorrentClient(ILogger<TorBoxTorrentClient> logger, IHttpClien
|
||||||
if (queuedTorrents != null)
|
if (queuedTorrents != null)
|
||||||
{
|
{
|
||||||
torrents.AddRange(queuedTorrents);
|
torrents.AddRange(queuedTorrents);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return torrents!.Select(Map).ToList();
|
return torrents!.Select(Map).ToList();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue