Cleanup default values and leftover methods in environmentService (#4550)

* Cleanup default values and leftover methods in environmentService

* Adress remainings configService calls
This commit is contained in:
Félix Malfait
2024-03-18 17:09:39 +01:00
committed by GitHub
parent 1cc8bdd3e9
commit bdbd77c696
15 changed files with 110 additions and 172 deletions

View File

@ -7,7 +7,7 @@ config();
const configService = new ConfigService();
export const typeORMCoreModuleOptions: TypeOrmModuleOptions = {
url: configService.get<string>('PG_DATABASE_URL'),
url: configService.get('PG_DATABASE_URL'),
type: 'postgres',
logging: ['error'],
schema: 'core',

View File

@ -7,7 +7,7 @@ config();
const configService = new ConfigService();
export const typeORMMetadataModuleOptions: TypeOrmModuleOptions = {
url: configService.get<string>('PG_DATABASE_URL'),
url: configService.get('PG_DATABASE_URL'),
type: 'postgres',
logging: ['error'],
schema: 'metadata',