diff --git a/lib/note/index.js b/lib/note/index.js index 8f41876f..68ca792a 100644 --- a/lib/note/index.js +++ b/lib/note/index.js @@ -308,7 +308,7 @@ const updateNote = async (req, res) => { return errorInternalError(req, res) } - updateHistory(req.user.id, note) + updateHistory(req.user.id, note) Revision.saveNoteRevision(note, (err, revision) => { if (err) {