Merge pull request #3444 from patnym/fix/doc_error

Improve example in the documentation
This commit is contained in:
Alexandre BODIN 2019-06-14 23:43:43 +02:00 committed by GitHub
commit f673f78681
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -294,7 +294,7 @@ module.exports = {
.populate('author');
// Send the list of users.
ctx.body = users;
ctx.body = articles;
}
}
```