mirror of https://github.com/status-im/codimd.git
Merge pull request #1570 from hackmdio/bugfix/update-history-usage
Use encoded noteId when calling updateHistory
This commit is contained in:
commit
0c3171b17d
|
@ -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