mirror of
https://github.com/zadam/trilium.git
synced 2025-11-03 03:46:37 +01:00
syncification
This commit is contained in:
@@ -2,8 +2,8 @@
|
||||
|
||||
const RecentNote = require('../../entities/recent_note');
|
||||
|
||||
async function addRecentNote(req) {
|
||||
await new RecentNote({
|
||||
function addRecentNote(req) {
|
||||
new RecentNote({
|
||||
noteId: req.body.noteId,
|
||||
notePath: req.body.notePath
|
||||
}).save();
|
||||
@@ -11,4 +11,4 @@ async function addRecentNote(req) {
|
||||
|
||||
module.exports = {
|
||||
addRecentNote
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user