From e20dd84e1d4352edf033a34319bbdb3b9d514d72 Mon Sep 17 00:00:00 2001
From: Sam Heinz <54530346+asylumexp@users.noreply.github.com>
Date: Sat, 31 Aug 2024 19:27:20 +1000
Subject: [PATCH] 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
---
server/RdtClient.Service/RdtClient.Service.csproj | 2 +-
.../Services/TorrentClients/TorBoxTorrentClient.cs | 1 -
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/server/RdtClient.Service/RdtClient.Service.csproj b/server/RdtClient.Service/RdtClient.Service.csproj
index 16c826c..97a68fc 100644
--- a/server/RdtClient.Service/RdtClient.Service.csproj
+++ b/server/RdtClient.Service/RdtClient.Service.csproj
@@ -22,7 +22,7 @@
-
+
diff --git a/server/RdtClient.Service/Services/TorrentClients/TorBoxTorrentClient.cs b/server/RdtClient.Service/Services/TorrentClients/TorBoxTorrentClient.cs
index 9d8a57b..c5529b8 100644
--- a/server/RdtClient.Service/Services/TorrentClients/TorBoxTorrentClient.cs
+++ b/server/RdtClient.Service/Services/TorrentClients/TorBoxTorrentClient.cs
@@ -104,7 +104,6 @@ public class TorBoxTorrentClient(ILogger logger, IHttpClien
if (queuedTorrents != null)
{
torrents.AddRange(queuedTorrents);
-
}
return torrents!.Select(Map).ToList();