mirror of
https://github.com/hexastack/hexabot
synced 2025-03-10 14:25:42 +00:00
fix: add transform
This commit is contained in:
parent
f24ba58709
commit
f1dbc7a49d
@ -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