mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-10 15:32:37 -07:00
Remove pointless test, change the default theme and fix a small bug
This commit is contained in:
parent
c9e5a8aec8
commit
1bbd62853e
3 changed files with 6 additions and 19 deletions
|
@ -48,7 +48,7 @@ using PlexRequests.UI.Helpers;
|
|||
using PlexRequests.UI.Models;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
|
||||
using Nancy.Extensions;
|
||||
using PlexRequests.Api.Models.Tv;
|
||||
using PlexRequests.Store.Models;
|
||||
using PlexRequests.Store.Repository;
|
||||
|
@ -208,7 +208,8 @@ namespace PlexRequests.UI.Modules
|
|||
|
||||
}).ContinueWith((t) =>
|
||||
{
|
||||
dbMovies = t.Result.ToDictionary(x => x.ProviderId);
|
||||
var distinctResults = t.Result.DistinctBy(x => x.ProviderId);
|
||||
dbMovies = distinctResults.ToDictionary(x => x.ProviderId);
|
||||
}));
|
||||
|
||||
Task.WaitAll(taskList.ToArray());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue