mirror of
https://github.com/zadam/trilium.git
synced 2024-09-21 08:06:03 +08:00
fix passing of startNote and originEntity to backend script API
This commit is contained in:
parent
9703fd61e2
commit
ed1cf6aad5
|
@ -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 = []) {
|
||||
|
|
Loading…
Reference in a new issue