Fixed: Saving Trakt Popular Import List without Genres

This commit is contained in:
Mark McDowall 2022-11-24 08:14:23 -08:00
parent 08b677ca7d
commit 53a3fc31e2
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ namespace NzbDrone.Core.ImportLists.Trakt.Popular
break; break;
} }
var filtersAndLimit = $"?years={Settings.Years}&genres={Settings.Genres.ToLower()}&ratings={Settings.Rating}&limit={Settings.Limit}{Settings.TraktAdditionalParameters}"; var filtersAndLimit = $"?years={Settings.Years}&genres={Settings.Genres?.ToLower()}&ratings={Settings.Rating}&limit={Settings.Limit}{Settings.TraktAdditionalParameters}";
link += filtersAndLimit; link += filtersAndLimit;
var request = new ImportListRequest($"{link}", HttpAccept.Json); var request = new ImportListRequest($"{link}", HttpAccept.Json);