From 53a3fc31e2686615be916acf7d55ac03cf90bd19 Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Thu, 24 Nov 2022 08:14:23 -0800 Subject: [PATCH] Fixed: Saving Trakt Popular Import List without Genres --- .../ImportLists/Trakt/Popular/TraktPopularRequestGenerator.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NzbDrone.Core/ImportLists/Trakt/Popular/TraktPopularRequestGenerator.cs b/src/NzbDrone.Core/ImportLists/Trakt/Popular/TraktPopularRequestGenerator.cs index 196f574f0..86f0f9661 100644 --- a/src/NzbDrone.Core/ImportLists/Trakt/Popular/TraktPopularRequestGenerator.cs +++ b/src/NzbDrone.Core/ImportLists/Trakt/Popular/TraktPopularRequestGenerator.cs @@ -64,7 +64,7 @@ namespace NzbDrone.Core.ImportLists.Trakt.Popular 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);