Skip to content

Commit

Permalink
Update main.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
totobon6125 authored Oct 19, 2023
1 parent 08467b6 commit 91ef7e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ async function bootstrap() {
const app = await NestFactory.create(AppModule);

// 유효성 검사를 위한 ValidationPipe 설정
// app.useGlobalPipes(new ValidationPipe());
app.useGlobalPipes(new ValidationPipe());

app.useGlobalInterceptors(new ClassSerializerInterceptor(app.get(Reflector)));
// 인터셉터를 사용하여 응답 본문에서 비밀번호를 자동으로 제거
Expand Down

0 comments on commit 91ef7e6

Please sign in to comment.