This commit is contained in:
sbriat 2023-02-01 15:13:14 +01:00
parent 93c409a4cd
commit 5556270162
1 changed files with 1 additions and 1 deletions

View File

@ -23,6 +23,7 @@ import { LoggingMessager } from './adapters/secondaries/logging.messager';
CqrsModule,
RabbitMQModule.forRootAsync(RabbitMQModule, {
imports: [ConfigModule],
inject: [ConfigService],
useFactory: async (configService: ConfigService) => ({
exchanges: [
{
@ -38,7 +39,6 @@ import { LoggingMessager } from './adapters/secondaries/logging.messager';
connectionInitOptions: { wait: false },
enableControllerDiscovery: true,
}),
inject: [ConfigService],
}),
],
controllers: [AuthenticationController, AuthenticationMessagerController],