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:
Sam Heinz 2024-08-31 19:27:20 +10:00
parent e60059a5bd
commit e20dd84e1d
2 changed files with 1 additions and 2 deletions

View file

@ -22,7 +22,7 @@
<PackageReference Include="Serilog" Version="4.0.0" />
<PackageReference Include="Serilog.Sinks.File" Version="6.0.0" />
<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>

View file

@ -104,7 +104,6 @@ public class TorBoxTorrentClient(ILogger<TorBoxTorrentClient> logger, IHttpClien
if (queuedTorrents != null)
{
torrents.AddRange(queuedTorrents);
}
return torrents!.Select(Map).ToList();