mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
Cardigann changes
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using NzbDrone.Core.Annotations;
|
||||
using NzbDrone.Core.Indexers;
|
||||
@@ -36,7 +37,7 @@ namespace Prowlarr.Api.V1.Indexers
|
||||
{
|
||||
Console.WriteLine("mapping cardigann def");
|
||||
|
||||
var extraFields = definition.ExtraFields.Select((x, i) => MapField(x, i)).ToList();
|
||||
var extraFields = definition.ExtraFields?.Select((x, i) => MapField(x, i)).ToList() ?? new List<Field>();
|
||||
|
||||
resource.Fields.AddRange(extraFields);
|
||||
|
||||
|
Reference in New Issue
Block a user