Skip to content

Commit

Permalink
fix: removed global validation pipe
Browse files Browse the repository at this point in the history
  • Loading branch information
uptownhr committed Aug 19, 2023
1 parent deb8e33 commit 86a66bd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/backend/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@ async function bootstrap() {
});

app.useGlobalFilters(new SupertokensExceptionFilter());
app.useGlobalPipes(
/*app.useGlobalPipes(
new ValidationPipe({
whitelist: true,
forbidNonWhitelisted: true,
transform: true,
})
);
);*/

const config = new DocumentBuilder()
.setTitle('Questions and Answers')
Expand Down

0 comments on commit 86a66bd

Please sign in to comment.