Skip to content

Commit 4f53f3b

Browse files
authored
fix: add missing underscore
1 parent 5620533 commit 4f53f3b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/4/en/part4c.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,7 @@ notesRouter.post('/', async (request, response) => {
438438
const note = new Note({
439439
content: body.content,
440440
important: body.important === undefined ? false : body.important,
441-
user: user.id //highlight-line
441+
user: user._id //highlight-line
442442
})
443443

444444
const savedNote = await note.save()

0 commit comments

Comments
 (0)