mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-19 21:03:17 -07:00
linked up the tv to issues
This commit is contained in:
parent
7ca57f3666
commit
6cef4f4cc4
6 changed files with 15 additions and 5 deletions
|
@ -51,8 +51,8 @@ namespace Ombi.Core.Engine.V2
|
|||
|
||||
public async Task<SearchFullInfoTvShowViewModel> GetShowByRequest(int requestId)
|
||||
{
|
||||
var request = await RequestService.TvRequestService.GetChild().Include(x => x.ParentRequest).FirstOrDefaultAsync(x => x.Id == requestId);
|
||||
return await GetShowInformation(request.ParentRequest.TvDbId);
|
||||
var request = await RequestService.TvRequestService.Get().FirstOrDefaultAsync(x => x.Id == requestId);
|
||||
return await GetShowInformation(request.TvDbId);
|
||||
}
|
||||
|
||||
public async Task<SearchFullInfoTvShowViewModel> GetShowInformation(int tvdbid)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue