Fixed: (Cardigann) Raw search parameter failed to deserialize

pull/605/head
Qstick 3 years ago
parent 1abd14ee86
commit e94c8839f6

@ -71,7 +71,7 @@ namespace NzbDrone.Core.Indexers.Cardigann
public Dictionary<string, string> Categories { get; set; }
public List<CategorymappingBlock> Categorymappings { get; set; }
public Dictionary<string, List<string>> Modes { get; set; }
public bool AllowRawSearch { get; set; }
public bool Allowrawsearch { get; set; }
}
public class CaptchaBlock

@ -97,7 +97,7 @@ namespace NzbDrone.Core.Indexers
definition.Privacy = defFile.Type == "private" ? IndexerPrivacy.Private : IndexerPrivacy.Public;
definition.Capabilities = new IndexerCapabilities();
definition.Capabilities.ParseCardigannSearchModes(defFile.Caps.Modes);
definition.Capabilities.SupportsRawSearch = defFile.Caps.AllowRawSearch;
definition.Capabilities.SupportsRawSearch = defFile.Caps.Allowrawsearch;
MapCardigannCategories(definition, defFile);
}

Loading…
Cancel
Save