mirror of https://github.com/Sonarr/Sonarr
Fixed: Testing SABnzbd when no categories are configured
This commit is contained in:
parent
5e57ffbcf9
commit
0e31281828
|
@ -1,4 +1,4 @@
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
using NzbDrone.Common.Disk;
|
using NzbDrone.Common.Disk;
|
||||||
using NzbDrone.Core.Download.Clients.Sabnzbd.JsonConverters;
|
using NzbDrone.Core.Download.Clients.Sabnzbd.JsonConverters;
|
||||||
|
@ -7,10 +7,14 @@ namespace NzbDrone.Core.Download.Clients.Sabnzbd
|
||||||
{
|
{
|
||||||
public class SabnzbdConfig
|
public class SabnzbdConfig
|
||||||
{
|
{
|
||||||
|
public SabnzbdConfig()
|
||||||
|
{
|
||||||
|
Categories = new List<SabnzbdCategory>();
|
||||||
|
Servers = new List<object>();
|
||||||
|
}
|
||||||
|
|
||||||
public SabnzbdConfigMisc Misc { get; set; }
|
public SabnzbdConfigMisc Misc { get; set; }
|
||||||
|
|
||||||
public List<SabnzbdCategory> Categories { get; set; }
|
public List<SabnzbdCategory> Categories { get; set; }
|
||||||
|
|
||||||
public List<object> Servers { get; set; }
|
public List<object> Servers { get; set; }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue