mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 19:05:59 +01:00
more logging
This commit is contained in:
@@ -27,7 +27,7 @@ router.put('/:noteId/moveTo/:parentId', auth.checkApiAuth, async (req, res, next
|
||||
await sql.execute("update notes_tree set note_pid = ?, note_pos = ?, date_modified = ? where note_id = ?",
|
||||
[parentId, newNotePos, now, noteId]);
|
||||
|
||||
await sql.addAudit(audit_category.CHANGE_PARENT, req, noteId);
|
||||
await sql.addAudit(audit_category.CHANGE_PARENT, req, noteId, null, parentId);
|
||||
|
||||
await sql.commit();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user