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 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)

@ -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

Loading…
Cancel
Save