fix passing of startNote and originEntity to backend script API

This commit is contained in:
zadam 2019-03-04 21:17:34 +01:00
parent 9703fd61e2
commit ed1cf6aad5

View file

@ -65,7 +65,7 @@ async function executeScript(script, params, startNoteId, currentNoteId, originE
const bundle = await getScriptBundle(currentNote);
return await executeBundle(bundle, startNote, originEntity);
return await executeBundle(bundle, { startNote, originEntity });
}
async function execute(ctx, script, params = []) {