Skip to content

Commit e0641bc

Browse files
committed
docs(validation): improvement
1 parent 2e9e6ce commit e0641bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/techniques/validation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ We'll start by binding `ValidationPipe` at the application level, thus ensuring
103103

104104
```typescript
105105
async function bootstrap() {
106-
const app = await NestFactory.create(ApplicationModule);
106+
const app = await NestFactory.create(AppModule);
107107
app.useGlobalPipes(new ValidationPipe());
108108
await app.listen(3000);
109109
}

0 commit comments

Comments
 (0)