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

This commit is contained in:
tidusjar 2021-03-01 14:15:26 +00:00
commit 7289ac765c

View file

@ -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);