From 8a2ce9981253f35186bca0617b039efb6dc8f3f2 Mon Sep 17 00:00:00 2001 From: nael Date: Sat, 13 Apr 2024 01:49:43 +0200 Subject: [PATCH] Revert ":bug: Fix import" This reverts commit 361ad757b6846f32d9f0e0669f5e02d7e456b3d5. --- packages/api/src/@core/environment/environment.module.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/api/src/@core/environment/environment.module.ts b/packages/api/src/@core/environment/environment.module.ts index 290e4b7d1..d17150d0a 100644 --- a/packages/api/src/@core/environment/environment.module.ts +++ b/packages/api/src/@core/environment/environment.module.ts @@ -2,6 +2,7 @@ import { Global, Module } from '@nestjs/common'; import { ConfigModule } from '@nestjs/config'; import { EnvironmentService } from './environment.service'; +import { validate } from './environement.validation'; @Global() @Module({ @@ -9,6 +10,7 @@ import { EnvironmentService } from './environment.service'; ConfigModule.forRoot({ isGlobal: true, expandVariables: true, + validate, }), ], providers: [EnvironmentService],