From 96e9261c22c90c958bec3066d86465e8e4cd11a8 Mon Sep 17 00:00:00 2001 From: Pawan Jain Date: Wed, 15 Jan 2025 15:40:05 +0530 Subject: [PATCH] fix(api-service): set check field as false by default (#7469) --- apps/api/src/app/integrations/integrations.controller.ts | 4 ++-- packages/providers/src/lib/email/ses/ses.provider.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/api/src/app/integrations/integrations.controller.ts b/apps/api/src/app/integrations/integrations.controller.ts index ac95521daff..be8297cbe71 100644 --- a/apps/api/src/app/integrations/integrations.controller.ts +++ b/apps/api/src/app/integrations/integrations.controller.ts @@ -158,7 +158,7 @@ export class IntegrationsController { channel: body.channel, credentials: body.credentials, active: body.active ?? false, - check: body.check ?? true, + check: body.check ?? false, conditions: body.conditions, }) ); @@ -198,7 +198,7 @@ export class IntegrationsController { credentials: body.credentials, removeNovuBranding: body.removeNovuBranding, active: body.active, - check: body.check ?? true, + check: body.check ?? false, conditions: body.conditions, }) ); diff --git a/packages/providers/src/lib/email/ses/ses.provider.ts b/packages/providers/src/lib/email/ses/ses.provider.ts index 40214ec4467..d372355284e 100644 --- a/packages/providers/src/lib/email/ses/ses.provider.ts +++ b/packages/providers/src/lib/email/ses/ses.provider.ts @@ -183,8 +183,8 @@ export class SESEmailProvider extends BaseProvider implements IEmailProvider { attachments: {}, bcc: [], cc: [], - replyTo: 'support@novu.co', - senderName: 'Novu Support', + replyTo: this.config.from, + senderName: this.config.senderName, }); return {