Fix logic of fetching torrents
This commit is contained in:
@@ -62,7 +62,7 @@ func (t *TorrentManager) processFixers(instances []realdebrid.Torrent) {
|
||||
|
||||
infoCache, _ := t.DirectoryMap.Get(INT_INFO_CACHE)
|
||||
for _, id := range toDelete {
|
||||
t.Api.DeleteTorrent(id)
|
||||
t.api.DeleteTorrent(id)
|
||||
infoCache.Remove(id)
|
||||
t.deleteTorrentFile(id)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user