mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-15 09:42:56 -07:00
Fixed notifications not sending #1594
This commit is contained in:
parent
1dc8eac035
commit
c957371bc5
2 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue