mirror of
https://github.com/fosrl/pangolin.git
synced 2026-08-13 07:50:22 +02:00
✨ test alert email works
This commit is contained in:
@@ -20,7 +20,10 @@ export async function processTestAlerts(context: TestAlertContext) {
|
||||
try {
|
||||
const recipients = await resolveEmailRecipients(action);
|
||||
if (recipients.length > 0) {
|
||||
await sendAlertEmail(recipients, context);
|
||||
await sendAlertEmail(recipients, {
|
||||
...context,
|
||||
isTest: true
|
||||
});
|
||||
}
|
||||
} catch (err) {
|
||||
logger.error(`processTestAlerts: failed to send alert email`, err);
|
||||
|
||||
Reference in New Issue
Block a user