mirror of
https://github.com/zadam/trilium.git
synced 2025-11-03 03:46:37 +01:00
refactored targetNote to workNote in the ScriptContext which was very confusing with relation's targetNote
This commit is contained in:
@@ -7,7 +7,7 @@ const repository = require('../../services/repository');
|
||||
|
||||
async function exec(req) {
|
||||
const result = await scriptService.executeScript(req.body.script, req.body.params, req.body.startNoteId,
|
||||
req.body.currentNoteId, req.body.targetNoteId);
|
||||
req.body.currentNoteId, req.body.workNoteId);
|
||||
|
||||
return { executionResult: result };
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user