Skip to content

Commit

Permalink
Merge pull request #11015 from gavi-shandler/patch-1
Browse files Browse the repository at this point in the history
Fix typo in populate docs
  • Loading branch information
vkarpov15 committed Nov 27, 2021
2 parents 83a89f9 + 0204de2 commit c401b2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/populate.md
Original file line number Diff line number Diff line change
Expand Up @@ -667,7 +667,7 @@ let authors = await Author.

authors = await Author.
find({}).
// Works, foreign field `band` is selected
// Works, foreign field `author` is selected
populate({ path: 'posts', select: 'title author' }).
exec();
```
Expand Down

0 comments on commit c401b2b

Please sign in to comment.