Auto-commit 2026-05-02 09:37
This commit is contained in:
@@ -25,6 +25,7 @@ export class EmailService {
|
||||
subject: string,
|
||||
htmlBody: string,
|
||||
textBody?: string,
|
||||
templateId?: string,
|
||||
attachments?: Array<{
|
||||
filename: string;
|
||||
content: Buffer | string;
|
||||
@@ -35,7 +36,7 @@ export class EmailService {
|
||||
id: `email_${Date.now()}_${Math.random().toString(36).substr(2, 9)}`,
|
||||
userId: recipient.userId,
|
||||
channel: NotificationChannel.EMAIL,
|
||||
templateId: 'custom', // Can be updated to use actual template
|
||||
templateId: templateId || 'custom',
|
||||
priority: NotificationPriority.NORMAL,
|
||||
status: NotificationStatus.PENDING,
|
||||
to: recipient.email!,
|
||||
|
||||
Reference in New Issue
Block a user