mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-11 07:46:05 -07:00
return empty array when obtaining queued IDs in sickrage cacher
This commit is contained in:
parent
256cfbc80f
commit
770b447d5d
1 changed files with 1 additions and 2 deletions
|
@ -72,8 +72,7 @@ namespace PlexRequests.Services
|
|||
public int[] QueuedIds()
|
||||
{
|
||||
var tv = Cache.Get<SickrageShows>(CacheKeys.SickRageQueued);
|
||||
var values = tv?.data.Values.Select(x => x.tvdbid).ToArray();
|
||||
return values;
|
||||
return tv?.data.Values.Select(x => x.tvdbid).ToArray() ?? new int[] { };
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue