mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-20 13:23:20 -07:00
Update NewsletterJob.cs
Begin work to turn logo in newsletter into link to app
This commit is contained in:
parent
3f3437598d
commit
14daa70fe9
1 changed files with 2 additions and 2 deletions
|
@ -174,7 +174,7 @@ namespace Ombi.Schedule.Jobs.Ombi
|
|||
}
|
||||
|
||||
var url = GenerateUnsubscribeLink(customization.ApplicationUrl, user.Id);
|
||||
var html = email.LoadTemplate(messageContent.Subject, messageContent.Message, body, customization.Logo, url);
|
||||
var html = email.LoadTemplate(messageContent.Subject, messageContent.Message, body, customization.Logo, url, customization.ApplicationUrl);
|
||||
|
||||
var bodyBuilder = new BodyBuilder
|
||||
{
|
||||
|
@ -216,7 +216,7 @@ namespace Ombi.Schedule.Jobs.Ombi
|
|||
|
||||
var email = new NewsletterTemplate();
|
||||
|
||||
var html = email.LoadTemplate(messageContent.Subject, messageContent.Message, body, customization.Logo, unsubscribeLink);
|
||||
var html = email.LoadTemplate(messageContent.Subject, messageContent.Message, body, customization.Logo, unsubscribeLink, customization.ApplicationUrl);
|
||||
|
||||
await _email.Send(
|
||||
new NotificationMessage { Message = html, Subject = messageContent.Subject, To = a.Email },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue