mirror of
https://github.com/zadam/trilium.git
synced 2025-12-22 08:09:55 +01:00
also de-encryption of note history plus bug fixes
This commit is contained in:
@@ -21,7 +21,7 @@ router.get('/:noteId', auth.checkApiAuth, async (req, res, next) => {
|
||||
res.send(history);
|
||||
});
|
||||
|
||||
router.put('/', auth.checkApiAuth, async (req, res, next) => {
|
||||
router.put('', auth.checkApiAuth, async (req, res, next) => {
|
||||
await sql.doInTransaction(async () => {
|
||||
await sql.replace("notes_history", req.body);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user