mirror of
https://github.com/zadam/trilium.git
synced 2025-11-07 05:46:10 +01:00
custom HTTP handler which triggers associated script notes WIP, #356
This commit is contained in:
@@ -17,7 +17,7 @@ async function runNotesWithLabel(runAttrValue) {
|
||||
AND notes.isDeleted = 0`, [runAttrValue]);
|
||||
|
||||
for (const note of notes) {
|
||||
scriptService.executeNote(note, note);
|
||||
scriptService.executeNote(note, { originEntity: note });
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user