mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-30 18:05:55 +01:00 
			
		
		
		
	server-ts: Address requested changes
This commit is contained in:
		| @@ -102,7 +102,7 @@ function executeScript(script: string, params: ScriptParams, startNoteId: string | ||||
|     return executeBundle(bundle, { startNote, originEntity }); | ||||
| } | ||||
|  | ||||
| function execute(ctx: any, script: string) { | ||||
| function execute(ctx: ScriptContext, script: string) { | ||||
|     return function () { return eval(`const apiContext = this;\r\n(${script}\r\n)()`); }.call(ctx); | ||||
| } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user