Skip to content

Commit 69fb434

Browse files
Merge branch 'master' of https://github.com/nestjs/nest
2 parents 6fc4826 + 255ca7e commit 69fb434

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<a href="https://travis-ci.org/nestjs/nest"><img src="https://img.shields.io/travis/nestjs/nest/master.svg?label=linux" alt="Linux" /></a>
1717
<a href="https://coveralls.io/github/nestjs/nest?branch=master"><img src="https://coveralls.io/repos/github/nestjs/nest/badge.svg?branch=master#8" alt="Coverage" /></a>
1818
<a href="https://gitter.im/nestjs/nestjs?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=body_badge"><img src="https://badges.gitter.im/nestjs/nestjs.svg" alt="Gitter" /></a>
19-
<a href="https://discord.gg/G7Qnnhy"><img src="https://img.shields.io/discord/520622812742811698.svg?logo=discord" alt="Discord"/></a>
19+
<a href="https://discord.gg/G7Qnnhy"><img src="https://img.shields.io/badge/discord-online-brightgreen.svg" alt="Discord"/></a>
2020
<a href="https://opencollective.com/nest#backer"><img src="https://opencollective.com/nest/backers/badge.svg" alt="Backers on Open Collective" /></a>
2121
<a href="https://opencollective.com/nest#sponsor"><img src="https://opencollective.com/nest/sponsors/badge.svg" alt="Sponsors on Open Collective" /></a>
2222
<a href="https://paypal.me/kamilmysliwiec"><img src="https://img.shields.io/badge/Donate-PayPal-ff3f59.svg"/></a>

sample/06-mongoose/src/cats/cats.controller.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export class CatsController {
99

1010
@Post()
1111
async create(@Body() createCatDto: CreateCatDto) {
12-
this.catsService.create(createCatDto);
12+
await this.catsService.create(createCatDto);
1313
}
1414

1515
@Get()

0 commit comments

Comments
 (0)