mirror of
https://gitlab.com/mobicoop/v3/service/auth.git
synced 2026-01-30 17:00:45 +00:00
refactor
This commit is contained in:
@@ -23,6 +23,7 @@ import { LoggingMessager } from './adapters/secondaries/logging.messager';
|
|||||||
CqrsModule,
|
CqrsModule,
|
||||||
RabbitMQModule.forRootAsync(RabbitMQModule, {
|
RabbitMQModule.forRootAsync(RabbitMQModule, {
|
||||||
imports: [ConfigModule],
|
imports: [ConfigModule],
|
||||||
|
inject: [ConfigService],
|
||||||
useFactory: async (configService: ConfigService) => ({
|
useFactory: async (configService: ConfigService) => ({
|
||||||
exchanges: [
|
exchanges: [
|
||||||
{
|
{
|
||||||
@@ -38,7 +39,6 @@ import { LoggingMessager } from './adapters/secondaries/logging.messager';
|
|||||||
connectionInitOptions: { wait: false },
|
connectionInitOptions: { wait: false },
|
||||||
enableControllerDiscovery: true,
|
enableControllerDiscovery: true,
|
||||||
}),
|
}),
|
||||||
inject: [ConfigService],
|
|
||||||
}),
|
}),
|
||||||
],
|
],
|
||||||
controllers: [AuthenticationController, AuthenticationMessagerController],
|
controllers: [AuthenticationController, AuthenticationMessagerController],
|
||||||
|
|||||||
Reference in New Issue
Block a user