mirror of
https://github.com/status-im/codimd.git
synced 2025-01-11 23:14:24 +00:00
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…
x
Reference in New Issue
Block a user