chore: add business logic
This commit is contained in:
@@ -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,
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user