introduced NoteFull entity, fixes

This commit is contained in:
azivner
2018-03-25 23:25:17 -04:00
parent cdf94181d2
commit 35998058ce
15 changed files with 184 additions and 165 deletions

View File

@@ -26,7 +26,8 @@ router.post('/:searchString', auth.checkApiAuth, wrap(async (req, res, next) =>
const noteId = await notes.createNote('root', 'Search note', noteContent, {
json: true,
type: 'search'
type: 'search',
mime: "application/json"
});
res.send({ noteId });