forked from Shared/esg
initial commit
This commit is contained in:
15
src/logging/logging.module.ts
Normal file
15
src/logging/logging.module.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
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 {}
|
||||
Reference in New Issue
Block a user