mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 02:16:05 +01:00 
			
		
		
		
	server: Fix script execution error (closes #244)
This commit is contained in:
		| @@ -95,10 +95,6 @@ function executeScript(script: string, params: ScriptParams, startNoteId: string | ||||
|         throw new Error("Unable to determine script bundle."); | ||||
|     } | ||||
|  | ||||
|     if (!startNote || !originEntity) { | ||||
|         throw new Error("Missing start note or origin entity."); | ||||
|     } | ||||
|  | ||||
|     return executeBundle(bundle, { startNote, originEntity }); | ||||
| } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user