From 7648a7d4dcf5f1dc5b68fa3c3ff46977b976d34b Mon Sep 17 00:00:00 2001 From: mahimavarma Date: Tue, 3 Oct 2023 01:53:24 +0530 Subject: [PATCH] fix: Fixed the issue of senders name in email while using resend --- .../src/factories/mail/handlers/resend.handler.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/application-generic/src/factories/mail/handlers/resend.handler.ts b/packages/application-generic/src/factories/mail/handlers/resend.handler.ts index 4d62d314c04..592c6b275c5 100644 --- a/packages/application-generic/src/factories/mail/handlers/resend.handler.ts +++ b/packages/application-generic/src/factories/mail/handlers/resend.handler.ts @@ -7,7 +7,7 @@ export class ResendHandler extends BaseHandler { super('resend', ChannelTypeEnum.EMAIL); } buildProvider(credentials: ICredentials, from?: string, senderName?: string) { - const config: { apiKey: string; from: string; senderName: string } = { + const config: { apiKey: string; from: string; senderName?: string } = { from: from as string, apiKey: credentials.apiKey as string, senderName,