mirror of
https://github.com/zadam/trilium.git
synced 2025-11-02 03:16:11 +01:00
various script fixes, including for electron
This commit is contained in:
@@ -36,7 +36,9 @@ const server = (function() {
|
||||
script = script.toString();
|
||||
}
|
||||
|
||||
return await post('script/exec/noteId', { script: script, params: params });
|
||||
const ret = await post('script/exec', { script: script, params: params });
|
||||
|
||||
return ret.executionResult;
|
||||
}
|
||||
|
||||
let i = 1;
|
||||
|
||||
Reference in New Issue
Block a user