Fixed: Queue not loading when it contains unmapped releases
This commit is contained in:
parent
c9e3890f73
commit
9854884ed3
|
@ -52,7 +52,7 @@ namespace Sonarr.Api.V3.Queue
|
||||||
}
|
}
|
||||||
|
|
||||||
var customFormats = model.RemoteEpisode?.CustomFormats;
|
var customFormats = model.RemoteEpisode?.CustomFormats;
|
||||||
var customFormatScore = model.Series.QualityProfile.Value.CalculateCustomFormatScore(customFormats);
|
var customFormatScore = model.Series?.QualityProfile?.Value?.CalculateCustomFormatScore(customFormats) ?? 0;
|
||||||
|
|
||||||
return new QueueResource
|
return new QueueResource
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue