Fixed: ReleasePush module returns single item not a list

pull/6/head
ta264 5 years ago committed by Qstick
parent e2e321b9be
commit 9392c13364

@ -59,7 +59,7 @@ namespace Lidarr.Api.V1.Indexers
throw new ValidationException(new List<ValidationFailure> { new ValidationFailure("Title", "Unable to parse", release.Title) });
}
return MapDecisions(new[] { firstDecision }).AsResponse();
return MapDecisions(new[] { firstDecision }).First().AsResponse();
}
private void ResolveIndexer(ReleaseInfo release)

Loading…
Cancel
Save