mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-13 16:52:56 -07:00
Finished the newsletter I think !wip
This commit is contained in:
parent
11442e2ea7
commit
a6aac93fe5
3 changed files with 81 additions and 62 deletions
|
@ -38,11 +38,11 @@ namespace Ombi.Notifications
|
|||
AdditionalInformation = opts?.AdditionalInformation ?? string.Empty;
|
||||
}
|
||||
|
||||
public void SetupNewsletter(CustomizationSettings s, string username)
|
||||
public void SetupNewsletter(CustomizationSettings s, OmbiUser username)
|
||||
{
|
||||
ApplicationUrl = (s?.ApplicationUrl.HasValue() ?? false) ? s.ApplicationUrl : string.Empty;
|
||||
ApplicationName = string.IsNullOrEmpty(s?.ApplicationName) ? "Ombi" : s?.ApplicationName;
|
||||
RequestedUser = username;
|
||||
RequestedUser = username.UserName;
|
||||
}
|
||||
|
||||
public void Setup(NotificationOptions opts, ChildRequests req, CustomizationSettings s)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue