mirror of https://github.com/status-im/codimd.git
Fix updateHistory parameter
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
This commit is contained in:
parent
4792908169
commit
ab0ac83582
|
@ -308,7 +308,7 @@ const updateNote = async (req, res) => {
|
||||||
return errorInternalError(req, res)
|
return errorInternalError(req, res)
|
||||||
}
|
}
|
||||||
|
|
||||||
updateHistory(req.user.id, note)
|
updateHistory(req.user.id, note.id, content)
|
||||||
|
|
||||||
Revision.saveNoteRevision(note, (err, revision) => {
|
Revision.saveNoteRevision(note, (err, revision) => {
|
||||||
if (err) {
|
if (err) {
|
||||||
|
|
Loading…
Reference in New Issue