mirror of
https://github.com/zadam/trilium.git
synced 2025-11-02 03:16:11 +01:00
fixed runOnAttributeChange event
This commit is contained in:
@@ -14,7 +14,7 @@ async function exec(req) {
|
||||
async function run(req) {
|
||||
const note = await repository.getNote(req.params.noteId);
|
||||
|
||||
const result = await scriptService.executeNote(req, note);
|
||||
const result = await scriptService.executeNote(note, note);
|
||||
|
||||
return { executionResult: result };
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user