add tests notification for email

This commit is contained in:
Alex Holliday
2025-06-10 13:20:44 +08:00
parent e6493df881
commit c20b8c665a
2 changed files with 19 additions and 1 deletions

View File

@@ -90,7 +90,7 @@ class NotificationController {
const notification = req.body;
if (notification?.type === "email") {
console.log("HANDLE EMAIL");
const result = await this.notificationService.sendTestEmail(notification);
return res.success({
msg: this.stringService.emailSendSuccess,
});