mirror of https://github.com/status-im/codimd.git
Use encoded noteId in updateHistory call
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
This commit is contained in:
parent
bef0701c8f
commit
ab58cd45b4
|
@ -309,7 +309,7 @@ const updateNote = async (req, res) => {
|
|||
}
|
||||
|
||||
if (req.isAuthenticated()) {
|
||||
updateHistory(req.user.id, note.id, content)
|
||||
updateHistory(req.user.id, noteId, content)
|
||||
}
|
||||
|
||||
Revision.saveNoteRevision(note, (err, revision) => {
|
||||
|
|
Loading…
Reference in New Issue