This commit is contained in:
Alex Holliday committed 2026-02-17 01:47:57 +00:00
1 parent f983863c72
commit fbb0e940c6
3 files changed
+93

No files matched your search

@@ -117,6 +117,15 @@ export class NotificationsService implements INotificationsService {
return await this.discordProvider.sendMessage(notification, notificationMessage);
}
if (notification.type === "email" && this.emailProvider.sendMessage && notificationMessage) {
this.logger.info({
message: "[NEW] Using sendMessage for email",
service: SERVICE_NAME,
method: "send",
});
return await this.emailProvider.sendMessage(notification, notificationMessage);
}
// Fallback to existing sendAlert for all providers
switch (notification.type) {
case "email":