Fixed: Testing SABnzbd when no categories are configured

(cherry picked from commit 0e31281828c737e3f6eecbb870960194888a970a)
This commit is contained in:
Mark McDowall 2022-11-07 18:58:40 -08:00 committed by Robin Dadswell
parent 488a7d183e
commit 6c01e8c91f
1 changed files with 7 additions and 3 deletions

View File

@ -1,4 +1,4 @@
using System.Collections.Generic;
using System.Collections.Generic;
using Newtonsoft.Json;
using NzbDrone.Common.Disk;
using NzbDrone.Core.Download.Clients.Sabnzbd.JsonConverters;
@ -7,10 +7,14 @@ namespace NzbDrone.Core.Download.Clients.Sabnzbd
{
public class SabnzbdConfig
{
public SabnzbdConfig()
{
Categories = new List<SabnzbdCategory>();
Servers = new List<object>();
}
public SabnzbdConfigMisc Misc { get; set; }
public List<SabnzbdCategory> Categories { get; set; }
public List<object> Servers { get; set; }
}