Browse Source

feat: Add imports, exports etc to logs module

Co-authored-by: Iro Athina Valagouti <iro_valagouti@yahoo.gr>
master
Konstantinos Kamaropoulos 5 years ago
parent
commit
f686cb83ce
  1. 13
      src/logs/logs.module.ts

13
src/logs/logs.module.ts

@ -0,0 +1,13 @@
import { Module } from '@nestjs/common';
import { MongooseModule } from '@nestjs/mongoose';
import { LogsSchema } from 'src/schemas/logs.schema';
import { LogsService } from './logs.service';
import { LogsController } from './logs.controller';
@Module({
imports: [MongooseModule.forFeature([{ name: 'Logs', schema: LogsSchema}])],
providers: [LogsService],
controllers: [LogsController],
exports: [MongooseModule.forFeature([{ name: 'Logs', schema: LogsSchema}])]
})
export class LogsModule {}
Loading…
Cancel
Save