From f948f8f675211ea104b85e175b179c20597f049a Mon Sep 17 00:00:00 2001 From: "Q.Tran" Date: Sat, 7 Oct 2023 16:22:25 +0700 Subject: [PATCH] fix: sengrid send email multiple should receive array --- packages/mail/src/mail.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/mail/src/mail.d.ts b/packages/mail/src/mail.d.ts index fa827498d..7f7fd3004 100644 --- a/packages/mail/src/mail.d.ts +++ b/packages/mail/src/mail.d.ts @@ -37,7 +37,7 @@ declare class MailService { /** * Send multiple emails (shortcut) */ - sendMultiple(data: MailDataRequired, cb?: (error: Error | ResponseError, result: [ClientResponse, {}]) => void): Promise<[ClientResponse, {}]>; + sendMultiple(data: MailDataRequired[], cb?: (error: Error | ResponseError, result: [ClientResponse, {}]) => void): Promise<[ClientResponse, {}]>; } declare const mail: MailService;