From 819e480d2d5540ae76c7944824dd01691fbc209e Mon Sep 17 00:00:00 2001 From: Michael Bromley Date: Thu, 4 Mar 2021 11:37:28 +0100 Subject: [PATCH] fix(email-plugin): Correctly initialize email processor --- packages/email-plugin/src/plugin.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/email-plugin/src/plugin.ts b/packages/email-plugin/src/plugin.ts index 285021a51d..f1a70c20a4 100644 --- a/packages/email-plugin/src/plugin.ts +++ b/packages/email-plugin/src/plugin.ts @@ -197,6 +197,7 @@ export class EmailPlugin implements OnApplicationBootstrap, NestModule { this.testingProcessor = new EmailProcessor(options); await this.testingProcessor.init(); } else { + await this.emailProcessor.init(); this.jobQueue = await this.jobQueueService.createQueue({ name: 'send-email', process: job => {