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
commit d16ef942bb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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