feat: try await in send email
This commit is contained in:
parent
8b0fe19b41
commit
633c08fde7
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Reference in New Issue