Skip to content

Commit

Permalink
Merge pull request #1804 from bbtfr/fix-note-id
Browse files Browse the repository at this point in the history
  • Loading branch information
jackycute authored Jun 5, 2023
2 parents 75d830d + 20e71a3 commit 298db32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/note/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ const updateNote = async (req, res) => {
}

if (req.isAuthenticated()) {
updateHistory(req.user.id, noteId, content)
updateHistory(req.user.id, Note.encodeNoteId(noteId), content)
}

Revision.saveNoteRevision(note, (err, revision) => {
Expand Down

0 comments on commit 298db32

Please sign in to comment.