feat: try await in send email

This commit is contained in:
Nevo David 2026-01-06 20:37:28 +07:00
parent 8b0fe19b41
commit 633c08fde7
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ export class EmailActivity {
@ActivityMethod()
async sendEmailAsync(to: string, subject: string, html: string, replyTo?: string) {
return this._emailService.sendEmail(to, subject, html, replyTo);
return await this._emailService.sendEmail(to, subject, html, replyTo);
}
@ActivityMethod()