mirror of
				https://github.com/TriliumNext/Notes.git
				synced 2025-10-31 21:11:30 +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); |     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 = []) { | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 zadam
						zadam