test alert email works

This commit is contained in:
Fred KISSIE
2026-08-11 22:25:26 +02:00
parent 899c47e9a3
commit 21032bc22b
9 changed files with 214 additions and 25 deletions
+2 -2
View File
@@ -128,7 +128,7 @@ export interface AlertContext {
export type EmailAlertAction = {
type: "email";
userIds?: string[];
roleIds?: string[];
roleIds?: number[];
emails?: string[];
};
@@ -139,7 +139,7 @@ export type WebhookAlertAction = {
config?: string | undefined;
};
type AlertAction = EmailAlertAction | WebhookAlertAction;
export type AlertAction = EmailAlertAction | WebhookAlertAction;
export interface TestAlertContext {
eventType: AlertEventType;
actions: AlertAction[];