forked from Shared/esg
16 lines
549 B
TypeScript
16 lines
549 B
TypeScript
import { Module } from '@nestjs/common';
|
|
import { MongooseModule } from '@nestjs/mongoose';
|
|
import { InquiryLogsController } from './inquiry-logs.controller';
|
|
import { InquiryLogService } from './inquiry-log.service';
|
|
import { InquiryLog, InquiryLogSchema } from './schemas/inquiry-log.schema';
|
|
|
|
@Module({
|
|
imports: [
|
|
MongooseModule.forFeature([{ name: InquiryLog.name, schema: InquiryLogSchema }]),
|
|
],
|
|
controllers: [InquiryLogsController],
|
|
providers: [InquiryLogService],
|
|
exports: [InquiryLogService],
|
|
})
|
|
export class LoggingModule {}
|