mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-30 19:40:05 -07:00
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:
parent
8de5057fd3
commit
189cfcaf05
28 changed files with 392 additions and 38 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue