From 77981938ec0a0b6c6a60cea22d42e7fb439bd6be Mon Sep 17 00:00:00 2001 From: Yuri Lima Date: Thu, 9 Feb 2023 20:41:06 +0000 Subject: [PATCH] sendMultiple correction The idea of the sendMultiple is sent from an array which using type script was showing an error when I tried to send. After that fix, I was able to carry on... --- 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;