We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4159069 commit 4f21d9fCopy full SHA for 4f21d9f
src/content/4/en/part4c.md
@@ -497,7 +497,7 @@ The selection of fields is done with the Mongo [syntax](https://docs.mongodb.com
497
```js
498
usersRouter.get('/', async (request, response) => {
499
const users = await User
500
- .find({}).populate('notes', { content: 1, important: })
+ .find({}).populate('notes', { content: 1, important: 1 })
501
502
response.json(users)
503
})
0 commit comments