Skip to content

Commit

Permalink
Fixed: Default List for Cardigann LegacyLinks
Browse files Browse the repository at this point in the history
  • Loading branch information
Qstick committed May 1, 2022
1 parent 4002cb7 commit 895c7c2
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@ public class KeyValuePairList : List<KeyValuePair<string, SelectorBlock>>, IDict
// Cardigann yaml classes
public class CardigannDefinition
{
public CardigannDefinition()
{
Legacylinks = new List<string>();
}

public string Id { get; set; }
public List<SettingsField> Settings { get; set; }
public string Name { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ namespace NzbDrone.Core.Indexers.Cardigann
{
public class CardigannMetaDefinition
{
public CardigannMetaDefinition()
{
Legacylinks = new List<string>();
}

public string Id { get; set; }
public string File { get; set; }
public string Name { get; set; }
Expand Down

0 comments on commit 895c7c2

Please sign in to comment.