fix
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { Module } from '@nestjs/common';
|
||||
import { Module } from '@nestjs/common';
|
||||
import { MikroOrmModule } from '@mikro-orm/nestjs';
|
||||
|
||||
import { Learning } from './entities/learning.entity';
|
||||
@@ -10,11 +10,13 @@ import { LearningCategoryRepository } from './repositories/learning-category.rep
|
||||
import { LearningProgressRepository } from './repositories/learning-progress.repository';
|
||||
import { LearningRepository } from './repositories/learning.repository';
|
||||
import { UserModule } from '../user/user.module';
|
||||
import { JwtModule } from '@nestjs/jwt';
|
||||
|
||||
@Module({
|
||||
imports: [
|
||||
MikroOrmModule.forFeature([Learning, LearningCategory, LearningProgress]),
|
||||
UserModule,
|
||||
JwtModule,
|
||||
],
|
||||
providers: [
|
||||
LearningService,
|
||||
@@ -25,4 +27,4 @@ import { UserModule } from '../user/user.module';
|
||||
controllers: [LearningController],
|
||||
exports: [LearningService],
|
||||
})
|
||||
export class LearningModule {}
|
||||
export class LearningModule { }
|
||||
|
||||
Reference in New Issue
Block a user