Fixed tv requests

This commit is contained in:
tidusjar 2021-03-17 12:35:41 +00:00
parent 4a8e7d9eec
commit 432fb683c2
2 changed files with 2 additions and 2 deletions

View file

@ -53,7 +53,7 @@ namespace Ombi.Core.Engine.V2
{
var show = await Cache.GetOrAdd(nameof(GetShowInformation) + tvdbid,
async () => await _movieApi.GetTVInfo(tvdbid), DateTime.Now.AddHours(12));
if (show == null)
if (show == null || show.name == null)
{
// We don't have enough information
return null;