Fixed the issue where movie requests were no longer being requested.

Changed the API for movie requests so we only need to pass the ID to approve/Deny

TV Requests next #1601
This commit is contained in:
tidusjar 2017-10-19 21:42:59 +01:00
parent b7b0381ce7
commit 7c5bca3b2b
17 changed files with 226 additions and 156 deletions

View file

@ -104,7 +104,7 @@ namespace Ombi.Notifications.Interfaces
{
if (type == RequestType.Movie)
{
MovieRequest = await MovieRepository.Get().FirstOrDefaultAsync(x => x.Id == requestId);
MovieRequest = await MovieRepository.GetAll().FirstOrDefaultAsync(x => x.Id == requestId);
MovieRequest.PosterPath = $"https://image.tmdb.org/t/p/w300/{MovieRequest.PosterPath}";
}
else