mirror of
https://github.com/lidarr/Lidarr
synced 2025-01-02 21:15:05 +00:00
parent
9045dea536
commit
2dec783272
2 changed files with 2 additions and 2 deletions
|
@ -67,7 +67,7 @@ public static RootFolder ToModel(this RootFolderResource resource)
|
||||||
DefaultQualityProfileId = resource.DefaultQualityProfileId,
|
DefaultQualityProfileId = resource.DefaultQualityProfileId,
|
||||||
DefaultMonitorOption = resource.DefaultMonitorOption,
|
DefaultMonitorOption = resource.DefaultMonitorOption,
|
||||||
DefaultNewItemMonitorOption = resource.DefaultNewItemMonitorOption,
|
DefaultNewItemMonitorOption = resource.DefaultNewItemMonitorOption,
|
||||||
DefaultTags = resource.DefaultTags,
|
DefaultTags = resource.DefaultTags ?? new HashSet<int>()
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -12,7 +12,7 @@ public class RootFolder : ModelBase
|
||||||
public int DefaultQualityProfileId { get; set; }
|
public int DefaultQualityProfileId { get; set; }
|
||||||
public MonitorTypes DefaultMonitorOption { get; set; }
|
public MonitorTypes DefaultMonitorOption { get; set; }
|
||||||
public NewItemMonitorTypes DefaultNewItemMonitorOption { get; set; }
|
public NewItemMonitorTypes DefaultNewItemMonitorOption { get; set; }
|
||||||
public HashSet<int> DefaultTags { get; set; }
|
public HashSet<int> DefaultTags { get; set; } = new ();
|
||||||
|
|
||||||
public bool Accessible { get; set; }
|
public bool Accessible { get; set; }
|
||||||
public long? FreeSpace { get; set; }
|
public long? FreeSpace { get; set; }
|
||||||
|
|
Loading…
Reference in a new issue