diff --git a/src/routes/enfants/enfants.module.ts b/src/routes/enfants/enfants.module.ts index 4057c03..9184b4e 100644 --- a/src/routes/enfants/enfants.module.ts +++ b/src/routes/enfants/enfants.module.ts @@ -5,10 +5,13 @@ import { TypeOrmModule } from '@nestjs/typeorm'; import { Children } from 'src/entities/children.entity'; import { Parents } from 'src/entities/parents.entity'; import { ParentsChildren } from 'src/entities/parents_children.entity'; +import { AuthModule } from '../auth/auth.module'; @Module({ - imports: [TypeOrmModule.forFeature([Children, Parents, ParentsChildren])], + imports: [TypeOrmModule.forFeature([Children, Parents, ParentsChildren]), + AuthModule + ], controllers: [EnfantsController], providers: [EnfantsService], }) -export class EnfantsModule {} +export class EnfantsModule { }