Slight changes, moved the donate button

This commit is contained in:
tidusjar 2016-06-22 20:33:24 +01:00
commit 0b1edcc488
2 changed files with 159 additions and 161 deletions

View file

@ -88,11 +88,7 @@ namespace PlexRequests.Services.Jobs
{
var movies = Cache.Get<CouchPotatoMovies>(CacheKeys.CouchPotatoQueued);
var items = movies?.movies?.Select(x => x.info?.tmdb_id).Cast<int>().ToArray();
if (items == null)
{
return new int[] { };
}
return items;
return items ?? new int[] { };
}
public void Execute(IJobExecutionContext context)