Skip to content

Commit 01a513f

Browse files
Merge pull request #1829 from Tony133/docs/validation-update
docs(validation): improvement
2 parents c1716f0 + e0641bc commit 01a513f

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)