Fixed notifications not sending #1594

This commit is contained in:
tidusjar 2017-10-20 23:03:42 +01:00
parent 1dc8eac035
commit c957371bc5
2 changed files with 2 additions and 2 deletions

View file

@ -42,7 +42,7 @@ namespace Ombi.Notifications.Agents
try try
{ {
var a = settings.Token; var a = settings.Token;
var b = settings.Channel; var b = settings.Team;
var c = settings.Service; var c = settings.Service;
} }
catch (IndexOutOfRangeException) catch (IndexOutOfRangeException)

View file

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