update configuration module

This commit is contained in:
sbriat
2023-10-17 11:27:52 +02:00
parent a5fb44f9e4
commit a46d9416ad
6 changed files with 86 additions and 61 deletions

View File

@@ -10,6 +10,7 @@ import {
} from '@mobicoop/ddd-library';
import { PrismaService } from './prisma.service';
import { AD_MESSAGE_PUBLISHER } from '../ad.di-tokens';
import { SERVICE_NAME } from '@src/app.constants';
export type AdBaseModel = {
uuid: string;
@@ -86,7 +87,7 @@ export class AdRepository
eventEmitter,
new LoggerBase({
logger: new Logger(AdRepository.name),
domain: 'ad',
domain: SERVICE_NAME,
messagePublisher,
}),
);