Merge pull request #80 from devamitranjan/FIX_ISSUE_79

fix: api validation pipe
This commit is contained in:
Mohamed Marrouchi
2024-09-25 16:25:33 +01:00
committed by GitHub

View File

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