chore: add business logic

This commit is contained in:
Mahyargdz
2025-05-18 10:19:16 +03:30
parent 1bc8b23452
commit b5c90e8c2e
12 changed files with 119 additions and 187 deletions
+2 -1
View File
@@ -154,7 +154,7 @@ export class EmailService {
}
}
async sendAdminNotificationEmail(data: { userEmail: string; title: string; message: string }) {
async sendAdminNotificationEmail(data: { userEmail: string; title: string; message: string; fullName?: string }) {
const emailData = {
to: data.userEmail,
subject: data.title,
@@ -162,6 +162,7 @@ export class EmailService {
context: {
title: data.title,
message: data.message,
fullName: data.fullName,
},
};