Fix torrent fetching logic

This commit is contained in:
Ben Sarmiento
2024-05-06 10:58:48 +02:00
parent ae94252156
commit ab81eb5f39
2 changed files with 15 additions and 6 deletions

View File

@@ -63,6 +63,7 @@ func NewTorrentManager(cfg config.ConfigInterface, api *realdebrid.RealDebrid, w
log: log,
DirectoryMap: cmap.New[cmap.ConcurrentMap[string, *Torrent]](),
DownloadMap: cmap.New[*realdebrid.Download](),
RootNode: fs.NewFileNode("root", true),