syncification

This commit is contained in:
zadam
2020-06-20 12:31:38 +02:00
parent 30062d687f
commit 88348c560c
97 changed files with 1673 additions and 1700 deletions

View File

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