🐛 Fix build errors by not using Torrent = in DebridLinkTorrentClient
use `Data.Models.Data.Torrent`instead of `Torrent` and `Download = RdtClient.Data.Models.Torrent`
This commit is contained in:
parent
56a61ad012
commit
48766e3d44
1 changed files with 2 additions and 3 deletions
|
|
@ -6,8 +6,7 @@ using RdtClient.Data.Models.TorrentClient;
|
||||||
using RdtClient.Service.Helpers;
|
using RdtClient.Service.Helpers;
|
||||||
using DebridLinkFrNET.Models;
|
using DebridLinkFrNET.Models;
|
||||||
using System.Web;
|
using System.Web;
|
||||||
using RdtClient.Data.Models.Data;
|
using Download = RdtClient.Data.Models.Data.Download;
|
||||||
using Torrent = RdtClient.Data.Models.Data.Torrent;
|
|
||||||
|
|
||||||
namespace RdtClient.Service.Services.TorrentClients;
|
namespace RdtClient.Service.Services.TorrentClients;
|
||||||
|
|
||||||
|
|
@ -319,7 +318,7 @@ public class DebridLinkClient : ITorrentClient
|
||||||
return Task.FromResult(HttpUtility.UrlDecode(uri.Segments.Last()));
|
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)
|
if (torrent.RdName == null || download.FileName == null)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue