Loading backend/src/app.module.ts +5 −3 Original line number Diff line number Diff line Loading @@ -17,8 +17,6 @@ import { join } from 'path'; import { Town } from './town/entities/town.entity'; import { TownModule } from './town/town.module'; import { TownTraduction } from './town/entities/town-traduction.entity'; import { APP_GUARD } from '@nestjs/core'; import { AuthAdminGuard } from './auth/admin/authAdmin.guard'; import { PlaceModule } from './place/place.module'; import { Place } from './place/entities/place.entity'; import { PointOfInterestModule } from './pointOfInterest/PointOfInterest.module'; Loading @@ -26,6 +24,8 @@ import { PointOfInterest } from './pointOfInterest/entities/PointOfInterest.enti import { AvailableDate } from './place/entities/available-date.entity'; import { PointOfInterestTraduction } from './pointOfInterest/entities/PointOfInterestTraduction.entity'; import { PlaceTraduction } from './place/entities/place-traduction.entity'; import { CategoryModule } from './category/category.module'; import { Category } from './category/entities/category.entity'; @Module({ imports: [ Loading @@ -47,9 +47,10 @@ import { PlaceTraduction } from './place/entities/place-traduction.entity'; AvailableDate, PointOfInterestTraduction, PlaceTraduction, Category, ], synchronize: DbConstants.DB_SYNC, logging: true, logging: false, }), AuthAdminModule, AdminModule, Loading @@ -63,6 +64,7 @@ import { PlaceTraduction } from './place/entities/place-traduction.entity'; rootPath: join(__dirname, '..', 'static'), }), PointOfInterestModule, CategoryModule, ], controllers: [AppController], providers: [AppService, DatabaseSeederModule], Loading Loading
backend/src/app.module.ts +5 −3 Original line number Diff line number Diff line Loading @@ -17,8 +17,6 @@ import { join } from 'path'; import { Town } from './town/entities/town.entity'; import { TownModule } from './town/town.module'; import { TownTraduction } from './town/entities/town-traduction.entity'; import { APP_GUARD } from '@nestjs/core'; import { AuthAdminGuard } from './auth/admin/authAdmin.guard'; import { PlaceModule } from './place/place.module'; import { Place } from './place/entities/place.entity'; import { PointOfInterestModule } from './pointOfInterest/PointOfInterest.module'; Loading @@ -26,6 +24,8 @@ import { PointOfInterest } from './pointOfInterest/entities/PointOfInterest.enti import { AvailableDate } from './place/entities/available-date.entity'; import { PointOfInterestTraduction } from './pointOfInterest/entities/PointOfInterestTraduction.entity'; import { PlaceTraduction } from './place/entities/place-traduction.entity'; import { CategoryModule } from './category/category.module'; import { Category } from './category/entities/category.entity'; @Module({ imports: [ Loading @@ -47,9 +47,10 @@ import { PlaceTraduction } from './place/entities/place-traduction.entity'; AvailableDate, PointOfInterestTraduction, PlaceTraduction, Category, ], synchronize: DbConstants.DB_SYNC, logging: true, logging: false, }), AuthAdminModule, AdminModule, Loading @@ -63,6 +64,7 @@ import { PlaceTraduction } from './place/entities/place-traduction.entity'; rootPath: join(__dirname, '..', 'static'), }), PointOfInterestModule, CategoryModule, ], controllers: [AppController], providers: [AppService, DatabaseSeederModule], Loading