Increased the delay for the Episode information api calls. #1163

Fixed the issue with notifications being slightly borked #1263

Fixed the issue for Radarr, the api changed again #1263
This commit is contained in:
tidusjar 2017-03-17 20:58:53 +00:00
commit 2d0297231d
6 changed files with 13 additions and 10 deletions

View file

@ -76,7 +76,7 @@ namespace Ombi.Services.Notification
{
Message = html,
Subject = $"Ombi: New {model.RequestType.GetString()?.ToLower()} request for {model.Title}!",
To = model.UserEmail,
To = settings.RecipientEmail,
};
message.Other.Add("PlainTextBody", $"Hello! The user '{model.User}' has requested the {model.RequestType.GetString()?.ToLower()} '{model.Title}'! Please log in to approve this request. Request Date: {model.DateTime.ToString("f")}");
@ -96,7 +96,7 @@ namespace Ombi.Services.Notification
{
Message = html,
Subject = $"Ombi: New issue for {model.Title}!",
To = model.UserEmail,
To = settings.RecipientEmail,
};
message.Other.Add("PlainTextBody", $"Hello! The user '{model.User}' has reported a new issue {model.Body} for the title {model.Title}!");
@ -118,7 +118,7 @@ namespace Ombi.Services.Notification
{
Message = html,
Subject = $"Ombi: A request could not be added",
To = model.UserEmail,
To = settings.RecipientEmail,
};
message.Other.Add("PlainTextBody", $"Hello! The user '{model.User}' has requested {model.Title} but it could not be added. This has been added into the requests queue and will keep retrying");
@ -241,7 +241,7 @@ namespace Ombi.Services.Notification
{
Message = html,
Subject = $"Ombi: Test",
To = model.UserEmail,
To = settings.RecipientEmail,
};
message.Other.Add("PlainTextBody", "This is just a test! Success!");