Fixed an issue where we were not notifying the user who reported the issue on the resolved notification

pull/4081/head v4.0.1135
tidusjar 4 years ago
parent 0d97d23dde
commit 7289ac765c

@ -316,7 +316,7 @@ namespace Ombi.Controllers.V1
? issue.UserReported.Email
: string.Empty,
AdditionalInformation = $"{issue.Subject} | {issue.Description}",
UserId = user.Id,
UserId = issue.UserReported.Id, // This is a resolved notification, so needs to go to the user who raised it
};
AddIssueNotificationSubstitutes(notificationModel, issue, issue.UserReported?.UserAlias ?? string.Empty);

Loading…
Cancel
Save