Skip to content

Commit f707813

Browse files
committed
fix: broken doc
1 parent c5a60c4 commit f707813

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,9 @@ import { NestFactory } from '@nestjs/core';
4444
import { AppModule } from './app.module';
4545

4646
async function bootstrap() {
47-
const app = await NestFactory.create(AppModule).then(
47+
const app = await NestFactory.create(AppModule)
4848
// Setup Context Wrappers Here
49-
configureContextWrappers(),
50-
);
49+
.then(configureContextWrappers);
5150

5251
await app.listen(3000);
5352
}

0 commit comments

Comments
 (0)