Skip to content

Commit

Permalink
Merge pull request #757 from bcgov/BCPSDEMS-2201-delegate-access
Browse files Browse the repository at this point in the history
Include msg json
  • Loading branch information
leewrigh authored Jan 30, 2025
2 parents dfc79ee + 3b9ee91 commit 70bab63
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,10 @@ public async Task<Task> HandleAsync(string consumerName, string key, Notificatio
eventData.Add("domainEvent", value.DomainEvent);
eventData.Add("to", value.To!);
eventData.Add("consumer", consumerName);
eventData.Add("msgJSON", JsonConvert.SerializeObject(value, new JsonSerializerSettings
{
Formatting = Formatting.Indented
}));
foreach (var adminEmail in configuration.AdminEmails)
{
await emailService.SendAsync(new Notification
Expand Down

0 comments on commit 70bab63

Please sign in to comment.