Skip to content

Commit

Permalink
6.31. Подключит контроллер EmailSubscriberController
Browse files Browse the repository at this point in the history
Завершим разработку модуля `email-subscriber` подключением модуля для отправки почты.
  • Loading branch information
AntonovIgor committed May 1, 2024
1 parent 4dc73a1 commit 95dac1f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
import { Controller } from '@nestjs/common';
import { RabbitSubscribe } from '@golevelup/nestjs-rabbitmq';

import { RabbitRouting } from '@project/shared/core';

import { EmailSubscriberService } from './email-subscriber.service';
import { CreateSubscriberDto } from './dto/create-subscriber.dto';
import { RabbitRouting } from '@project/shared/core';
import { MailService } from './mail-module/mail.service';


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import { EmailSubscriberService } from './email-subscriber.service';
import { EmailSubscriberRepository } from './email-subscriber.repository';
import { EmailSubscriberFactory } from './email-subscriber.factory';
import { MailModule } from './mail-module/mail.module';
import { EmailSubscriberController } from './email-subscriber.controller';

@Module({
imports: [
Expand All @@ -21,6 +22,9 @@ import { MailModule } from './mail-module/mail.module';
),
MailModule,
],
controllers: [
EmailSubscriberController,
],
providers: [
EmailSubscriberService,
EmailSubscriberRepository,
Expand Down

0 comments on commit 95dac1f

Please sign in to comment.