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