Fixed: (Cardigann) Don't die if no categories can be mapped for a release

Fixes #105
This commit is contained in:
Qstick
2021-06-12 02:17:17 -04:00
parent bcee5f1754
commit 9675171aff
31 changed files with 41 additions and 40 deletions
@@ -245,7 +245,7 @@ namespace NzbDrone.Core.Indexers.Definitions
DownloadUrl = link.AbsoluteUri,
InfoUrl = details.AbsoluteUri,
PublishDate = publishDate,
Category = _categories.MapTrackerCatToNewznab(row.c.ToString()),
Categories = _categories.MapTrackerCatToNewznab(row.c.ToString()),
Size = (long)row.size,
Files = (int)row.files,
Grabs = (int)row.completed,