diff --git a/packages/modules/notification/src/services/notification-provider.ts b/packages/modules/notification/src/services/notification-provider.ts index adb07b7904a5d..26fdb3f81b15c 100644 --- a/packages/modules/notification/src/services/notification-provider.ts +++ b/packages/modules/notification/src/services/notification-provider.ts @@ -68,7 +68,9 @@ export default class NotificationProviderService extends ModulesSdkUtils.MedusaI TOutput = TChannel extends string[] ? Provider[] : Provider | undefined >(channels: TChannel): Promise { if (!this.providersCache) { - const providers = await this.notificationProviderRepository_.find() + const providers = await this.notificationProviderRepository_.find({ + where: { is_enabled: true }, + }) this.providersCache = new Map( providers.flatMap((provider) =>