mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-17 21:25:39 -04:00
Fixed: Creating root folders without default tags
This commit is contained in:
@@ -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<int> DefaultTags { get; set; }
|
||||
public HashSet<int> DefaultTags { get; set; } = new ();
|
||||
public bool IsCalibreLibrary { get; set; }
|
||||
public CalibreSettings CalibreSettings { get; set; }
|
||||
|
||||
|
||||
@@ -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<int>(),
|
||||
IsCalibreLibrary = resource.IsCalibreLibrary,
|
||||
CalibreSettings = cs
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user