mirror of
https://gitlab.com/mobicoop/v3/service/configuration.git
synced 2026-01-08 11:22:41 +00:00
Merge branch 'refactor' into 'main'
refactor See merge request v3/services/configuration!8
This commit is contained in:
@@ -21,6 +21,7 @@ import { ConfigurationProfile } from './mappers/configuration.profile';
|
||||
CqrsModule,
|
||||
RabbitMQModule.forRootAsync(RabbitMQModule, {
|
||||
imports: [ConfigModule],
|
||||
inject: [ConfigService],
|
||||
useFactory: async (configService: ConfigService) => ({
|
||||
exchanges: [
|
||||
{
|
||||
@@ -35,7 +36,6 @@ import { ConfigurationProfile } from './mappers/configuration.profile';
|
||||
uri: configService.get<string>('RMQ_URI'),
|
||||
connectionInitOptions: { wait: false },
|
||||
}),
|
||||
inject: [ConfigService],
|
||||
}),
|
||||
],
|
||||
exports: [],
|
||||
|
||||
Reference in New Issue
Block a user