From 48766e3d442a39e254ac5ddd9750b493e3aa1870 Mon Sep 17 00:00:00 2001 From: Cucumberrbob <128094686+Cucumberrbob@users.noreply.github.com> Date: Sun, 2 Feb 2025 22:48:47 +0000 Subject: [PATCH] :bug: Fix build errors by not `using Torrent =` in `DebridLinkTorrentClient` use `Data.Models.Data.Torrent`instead of `Torrent` and `Download = RdtClient.Data.Models.Torrent` --- .../Services/TorrentClients/DebridLinkTorrentClient.cs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/server/RdtClient.Service/Services/TorrentClients/DebridLinkTorrentClient.cs b/server/RdtClient.Service/Services/TorrentClients/DebridLinkTorrentClient.cs index 262f712..92225d5 100644 --- a/server/RdtClient.Service/Services/TorrentClients/DebridLinkTorrentClient.cs +++ b/server/RdtClient.Service/Services/TorrentClients/DebridLinkTorrentClient.cs @@ -6,8 +6,7 @@ using RdtClient.Data.Models.TorrentClient; using RdtClient.Service.Helpers; using DebridLinkFrNET.Models; using System.Web; -using RdtClient.Data.Models.Data; -using Torrent = RdtClient.Data.Models.Data.Torrent; +using Download = RdtClient.Data.Models.Data.Download; namespace RdtClient.Service.Services.TorrentClients; @@ -319,7 +318,7 @@ public class DebridLinkClient : ITorrentClient return Task.FromResult(HttpUtility.UrlDecode(uri.Segments.Last())); } - public static String? GetSymlinkPath(Torrent torrent, Download download) + public static String? GetSymlinkPath(Data.Models.Data.Torrent torrent, Download download) { if (torrent.RdName == null || download.FileName == null) {