mirror of
https://github.com/zadam/trilium.git
synced 2025-06-04 08:58:40 +02: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…
x
Reference in New Issue
Block a user