mirror of https://github.com/lidarr/Lidarr
Fixed: ReleasePush module returns single item not a list
This commit is contained in:
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…
Reference in New Issue