From c9f58a81f1f1f73d80329e49faca82f897e28b92 Mon Sep 17 00:00:00 2001 From: sdraris Date: Wed, 1 Oct 2025 22:07:08 +0200 Subject: [PATCH] enfants corrected --- src/routes/enfants/enfants.module.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/routes/enfants/enfants.module.ts b/src/routes/enfants/enfants.module.ts index cd749e3..2b9385b 100644 --- a/src/routes/enfants/enfants.module.ts +++ b/src/routes/enfants/enfants.module.ts @@ -5,10 +5,14 @@ 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 { }