Merge branch 'refactor' into 'main'
refactor See merge request v3/services/auth!13
This commit is contained in:
commit
ee9cf8d64d
|
@ -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],
|
||||
|
|
Loading…
Reference in New Issue