custom HTTP handler which triggers associated script notes WIP, #356

This commit is contained in:
azivner
2019-01-27 12:28:20 +01:00
parent e211dd65ad
commit 54de4d236d
8 changed files with 67 additions and 18 deletions

View File

@@ -19,7 +19,7 @@ async function exec(req) {
async function run(req) {
const note = await repository.getNote(req.params.noteId);
const result = await scriptService.executeNote(note, note);
const result = await scriptService.executeNote(note, { originEntity: note });
return { executionResult: result };
}