1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-12-14 11:23:42 +02:00

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

View File

@ -64,7 +64,7 @@ private IEnumerable<ImportListRequest> GetSeriesRequest()
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;
var request = new ImportListRequest($"{link}", HttpAccept.Json);