|
@@ -197,6 +197,7 @@ export class EmailPlugin implements OnApplicationBootstrap, NestModule {
|
|
|
this.testingProcessor = new EmailProcessor(options);
|
|
this.testingProcessor = new EmailProcessor(options);
|
|
|
await this.testingProcessor.init();
|
|
await this.testingProcessor.init();
|
|
|
} else {
|
|
} else {
|
|
|
|
|
+ await this.emailProcessor.init();
|
|
|
this.jobQueue = await this.jobQueueService.createQueue({
|
|
this.jobQueue = await this.jobQueueService.createQueue({
|
|
|
name: 'send-email',
|
|
name: 'send-email',
|
|
|
process: job => {
|
|
process: job => {
|