1
0
forked from Yara724/api

Deactivated Valiation Whitelist for now

This commit is contained in:
SepehrYahyaee
2026-05-20 15:27:44 +03:30
parent 3dec22595c
commit 35487ad033

View File

@@ -77,14 +77,14 @@ dotenv.config({ path: `.${process.env.NODE_ENV}.env` });
provide: APP_INTERCEPTOR, provide: APP_INTERCEPTOR,
useClass: UnicodeDigitsNormalizeInterceptor, useClass: UnicodeDigitsNormalizeInterceptor,
}, },
{ // {
provide: APP_PIPE, // provide: APP_PIPE,
useValue: new ValidationPipe({ // useValue: new ValidationPipe({
transform: true, // transform: true,
whitelist: true, // whitelist: true,
forbidNonWhitelisted: false, // forbidNonWhitelisted: false,
}), // }),
}, // },
], ],
}) })
export class AppModule {} export class AppModule {}