mirror of
https://github.com/hexastack/hexabot
synced 2025-02-22 04:17:48 +00:00
Merge pull request #80 from devamitranjan/FIX_ISSUE_79
fix: api validation pipe
This commit is contained in:
commit
d16ef942bb
@ -51,6 +51,7 @@ async function bootstrap() {
|
||||
app.useGlobalPipes(
|
||||
new ValidationPipe({
|
||||
whitelist: true,
|
||||
transform: true,
|
||||
// forbidNonWhitelisted: true,
|
||||
}),
|
||||
new ObjectIdPipe(),
|
||||
|
Loading…
Reference in New Issue
Block a user