Skip to content

Commit

Permalink
fix(email-plugin): Correctly initialize email processor
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelbromley committed Mar 4, 2021
1 parent 7288383 commit 819e480
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/email-plugin/src/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 => {
Expand Down

0 comments on commit 819e480

Please sign in to comment.