ulnagar / Constellation

0 stars 0 forks source link

Replace hard-coded mandatory training coordinator entries in job #10

Closed ulnagar closed 1 year ago

ulnagar commented 1 year ago
var expiredRecipients = new Dictionary<string, string>(alertRecipients);
if (expiredRecipients.All(entry => entry.Key != "Cathy Crouch"))
    expiredRecipients.Add("Cathy Crouch", "catherine.crouch@det.nsw.edu.au");

This should be pulled from app settings instead of being hard coded.

ulnagar commented 1 year ago

Tested without issue. Scheduled to be released to production with R1.11