Fixed: Parse endpoint response when title failed to parse

Closes #4591
This commit is contained in:
Taloth Saldono 2021-08-03 20:55:27 +02:00
parent dc7f46027a
commit 59409a7e72
2 changed files with 8 additions and 2 deletions

View File

@ -32,7 +32,10 @@ namespace NzbDrone.Api.Parse
if (parsedEpisodeInfo == null)
{
return null;
return new ParseResource
{
Title = title
};
}
var remoteEpisode = _parsingService.Map(parsedEpisodeInfo, 0, 0);

View File

@ -32,7 +32,10 @@ namespace Sonarr.Api.V3.Parse
if (parsedEpisodeInfo == null)
{
return null;
return new ParseResource
{
Title = title
};
}
var remoteEpisode = _parsingService.Map(parsedEpisodeInfo, 0, 0);