mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 10:26:08 +01:00 
			
		
		
		
	fix passing of startNote and originEntity to backend script API
This commit is contained in:
		| @@ -65,7 +65,7 @@ async function executeScript(script, params, startNoteId, currentNoteId, originE | |||||||
|  |  | ||||||
|     const bundle = await getScriptBundle(currentNote); |     const bundle = await getScriptBundle(currentNote); | ||||||
|  |  | ||||||
|     return await executeBundle(bundle, startNote, originEntity); |     return await executeBundle(bundle, { startNote, originEntity }); | ||||||
| } | } | ||||||
|  |  | ||||||
| async function execute(ctx, script, params = []) { | async function execute(ctx, script, params = []) { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user