script to generate large documents, closes #55

This commit is contained in:
azivner
2018-04-03 22:15:28 -04:00
parent 42dd8d4754
commit abfc64af95
15 changed files with 203 additions and 75 deletions

View File

@@ -20,13 +20,13 @@ async function saveSearchToNote(req) {
searchString: req.params.searchString
};
const noteId = await noteService.createNote('root', 'Search note', noteContent, {
const {note} = await noteService.createNote('root', 'Search note', noteContent, {
json: true,
type: 'search',
mime: "application/json"
});
return { noteId };
return { noteId: note.noteId };
}
module.exports = {