Fixed notifications not sending #1594

pull/1614/head
tidusjar 7 years ago
parent 1dc8eac035
commit c957371bc5

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

@ -104,7 +104,7 @@ namespace Ombi.Notifications.Interfaces
{
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}";
}
else

Loading…
Cancel
Save