From a8ef23845c121b14f86153e7297e499f6562e19c Mon Sep 17 00:00:00 2001 From: Roland Schneider Date: Wed, 19 Nov 2025 23:32:13 +0100 Subject: [PATCH] cleanup app module in angular --- server/src/app.module.ts | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/server/src/app.module.ts b/server/src/app.module.ts index ada175f..85aee95 100644 --- a/server/src/app.module.ts +++ b/server/src/app.module.ts @@ -9,8 +9,6 @@ import { User } from './entity/user'; import { UserGroup } from './entity/user-group'; import { UserRole } from './entity/user-role'; import { LoggerModule } from './logger/logger.module'; -import { Product } from "./entity/product.entity"; -import { ProductsModule } from "./product/products.module"; const moduleTypeOrm = TypeOrmModule.forRootAsync({ imports: [ConfigModule], @@ -23,7 +21,7 @@ const moduleTypeOrm = TypeOrmModule.forRootAsync({ username: configService.get('DATABASE_USER'), password: configService.get('DATABASE_PASS'), database: configService.get('DATABASE_NAME'), - entities: [User, UserGroup, UserRole, Product], + entities: [User, UserGroup, UserRole], logging: true, // synchronize: true, }; @@ -37,8 +35,7 @@ const moduleTypeOrm = TypeOrmModule.forRootAsync({ UserModule, AuthModule, LoggerModule, - ProductsModule - ], + ], controllers: [AppController], providers: [AppService], })