Files
Checkmate/server/src/service/infrastructure/notificationProviders/utils.ts
T

10 lines
385 B
TypeScript
Raw Normal View History

2026-03-04 17:32:50 +00:00
import { IEmailService } from "@/service/infrastructure/emailService.js";
export const buildTestEmail = async (emailService: IEmailService) => {
2026-01-19 21:39:02 +00:00
const context = { testName: "Monitoring System" };
const html = await emailService.buildEmail("testEmailTemplate", context);
return html;
};
export const getTestMessage = () => {
return "This is a test notification from Checkmate";
};