mirror of
https://github.com/zadam/trilium.git
synced 2025-11-05 04:45:47 +01:00
fix recent notes (db & sync version increase)
This commit is contained in:
@@ -3,12 +3,9 @@
|
||||
const RecentNote = require('../../entities/recent_note');
|
||||
|
||||
async function addRecentNote(req) {
|
||||
const branchId = req.body.branchId;
|
||||
const notePath = req.body.notePath;
|
||||
|
||||
await new RecentNote({
|
||||
branchId: branchId,
|
||||
notePath: notePath
|
||||
noteId: req.body.noteId,
|
||||
notePath: req.body.notePath
|
||||
}).save();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user