Skip to content

Commit de59590

Browse files
authored
Merge pull request #3788 from krushnarout/krushnarout-patch-1
Part 4c: Fix: Add missing underscore
2 parents 47c6c62 + 4f53f3b commit de59590

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
@@ -443,7 +443,7 @@ notesRouter.post('/', async (request, response) => {
443443
const note = new Note({
444444
content: body.content,
445445
important: body.important === undefined ? false : body.important,
446-
user: user.id //highlight-line
446+
user: user._id //highlight-line
447447
})
448448

449449
const savedNote = await note.save()

0 commit comments

Comments
 (0)