diff --git a/src/NzbDrone.Core/RootFolders/RootFolder.cs b/src/NzbDrone.Core/RootFolders/RootFolder.cs index d41930671..66d053a9d 100644 --- a/src/NzbDrone.Core/RootFolders/RootFolder.cs +++ b/src/NzbDrone.Core/RootFolders/RootFolder.cs @@ -13,7 +13,7 @@ namespace NzbDrone.Core.RootFolders public int DefaultQualityProfileId { get; set; } public MonitorTypes DefaultMonitorOption { get; set; } public NewItemMonitorTypes DefaultNewItemMonitorOption { get; set; } - public HashSet DefaultTags { get; set; } + public HashSet DefaultTags { get; set; } = new (); public bool IsCalibreLibrary { get; set; } public CalibreSettings CalibreSettings { get; set; } diff --git a/src/Readarr.Api.V1/RootFolders/RootFolderResource.cs b/src/Readarr.Api.V1/RootFolders/RootFolderResource.cs index 0f67813b3..1b6089ffd 100644 --- a/src/Readarr.Api.V1/RootFolders/RootFolderResource.cs +++ b/src/Readarr.Api.V1/RootFolders/RootFolderResource.cs @@ -108,7 +108,7 @@ namespace Readarr.Api.V1.RootFolders DefaultQualityProfileId = resource.DefaultQualityProfileId, DefaultMonitorOption = resource.DefaultMonitorOption, DefaultNewItemMonitorOption = resource.DefaultNewItemMonitorOption, - DefaultTags = resource.DefaultTags, + DefaultTags = resource.DefaultTags ?? new HashSet(), IsCalibreLibrary = resource.IsCalibreLibrary, CalibreSettings = cs };