forked from Yara724/api
Deactivated Valiation Whitelist for now
This commit is contained in:
@@ -77,14 +77,14 @@ dotenv.config({ path: `.${process.env.NODE_ENV}.env` });
|
|||||||
provide: APP_INTERCEPTOR,
|
provide: APP_INTERCEPTOR,
|
||||||
useClass: UnicodeDigitsNormalizeInterceptor,
|
useClass: UnicodeDigitsNormalizeInterceptor,
|
||||||
},
|
},
|
||||||
{
|
// {
|
||||||
provide: APP_PIPE,
|
// provide: APP_PIPE,
|
||||||
useValue: new ValidationPipe({
|
// useValue: new ValidationPipe({
|
||||||
transform: true,
|
// transform: true,
|
||||||
whitelist: true,
|
// whitelist: true,
|
||||||
forbidNonWhitelisted: false,
|
// forbidNonWhitelisted: false,
|
||||||
}),
|
// }),
|
||||||
},
|
// },
|
||||||
],
|
],
|
||||||
})
|
})
|
||||||
export class AppModule {}
|
export class AppModule {}
|
||||||
|
|||||||
Reference in New Issue
Block a user