work on issues and imporving the api.

Also added the GroupMe Api project so we can later add this as another notification agent
This commit is contained in:
Jamie Rees 2019-05-31 14:54:51 +01:00
parent 8de5057fd3
commit 189cfcaf05
28 changed files with 392 additions and 38 deletions

View file

@ -1,5 +1,6 @@
using System.Collections.Generic;
using System.Security.Principal;
using System.Threading;
using System.Threading.Tasks;
using Ombi.Api.TheMovieDb;
using Ombi.Api.TheMovieDb.Models;
@ -27,9 +28,9 @@ namespace Ombi.Core.Engine.V2
private readonly IMovieDbApi _movieDbApi;
public async Task<List<MultiSearch>> MultiSearch(string searchTerm, string lang = "en")
public async Task<List<MultiSearch>> MultiSearch(string searchTerm, CancellationToken cancellationToken, string lang = "en")
{
return (await _movieDbApi.MultiSearch(searchTerm, lang)).results;
return (await _movieDbApi.MultiSearch(searchTerm, lang, cancellationToken)).results;
}
}
}