This commit is contained in:
tidusjar 2016-04-14 23:03:39 +01:00
commit 7c24597b3c

View file

@ -72,8 +72,7 @@ namespace PlexRequests.Services
public int[] QueuedIds() public int[] QueuedIds()
{ {
var tv = Cache.Get<SickrageShows>(CacheKeys.SickRageQueued); var tv = Cache.Get<SickrageShows>(CacheKeys.SickRageQueued);
var values = tv?.data.Values.Select(x => x.tvdbid).ToArray(); return tv?.data.Values.Select(x => x.tvdbid).ToArray() ?? new int[] { };
return values;
} }
} }
} }