From 7e9c8bec6b02bb4e11f8db50394e493d4dd07723 Mon Sep 17 00:00:00 2001 From: phildups7 <60622768+phildups7@users.noreply.github.com> Date: Tue, 9 May 2023 05:24:38 -0400 Subject: [PATCH] fix(notificaitons): Add the RequestedByAlias field to the Notification Message --- src/Ombi.Notifications/NotificationMessageCurlys.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Ombi.Notifications/NotificationMessageCurlys.cs b/src/Ombi.Notifications/NotificationMessageCurlys.cs index f079c03a3..c1fecb00c 100644 --- a/src/Ombi.Notifications/NotificationMessageCurlys.cs +++ b/src/Ombi.Notifications/NotificationMessageCurlys.cs @@ -153,6 +153,7 @@ namespace Ombi.Notifications RequestedUser = req?.RequestedUser?.UserName; RequestedDate = req?.RequestedDate.ToString("D"); DetailsUrl = GetDetailsUrl(s, req); + RequestedByAlias = req?.RequestedByAlias; if (Type.IsNullOrEmpty()) { @@ -276,6 +277,7 @@ namespace Ombi.Notifications // User Defined public string RequestId { get; set; } public string RequestedUser { get; set; } + public string RequestedByAlias { get; set; } public string UserName { get; set; } public string IssueUser => UserName; public string Alias { get; set; } @@ -339,6 +341,7 @@ namespace Ombi.Notifications { nameof(IssueUser), IssueUser }, { nameof(UserName), UserName }, { nameof(Alias), Alias }, + { nameof(RequestedByAlias), RequestedByAlias }, { nameof(UserPreference), UserPreference }, { nameof(DenyReason), DenyReason }, { nameof(AvailableDate), AvailableDate },