fix: add transform

This commit is contained in:
Mohamed Marrouchi 2024-09-25 09:19:45 +01:00
parent f24ba58709
commit f1dbc7a49d

View File

@ -51,6 +51,7 @@ async function bootstrap() {
app.useGlobalPipes(
new ValidationPipe({
whitelist: true,
transform: true,
// forbidNonWhitelisted: true,
}),
new ObjectIdPipe(),