fix recent notes (db & sync version increase)

This commit is contained in:
zadam
2019-05-21 21:47:28 +02:00
parent ced02b42b5
commit 29828f8e8f
16 changed files with 196 additions and 176 deletions

View File

@@ -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();
}