diff --git a/api/src/main.ts b/api/src/main.ts index 0d82293a..7ad1eef2 100644 --- a/api/src/main.ts +++ b/api/src/main.ts @@ -51,6 +51,7 @@ async function bootstrap() { app.useGlobalPipes( new ValidationPipe({ whitelist: true, + transform: true, // forbidNonWhitelisted: true, }), new ObjectIdPipe(),