moving deleteNote and deleteBranch into entities to make them accessible to scripts, #2792

This commit is contained in:
zadam
2022-04-19 23:06:46 +02:00
parent f6ebc76917
commit 643a5e5b16
22 changed files with 734 additions and 193 deletions

View File

@@ -73,7 +73,7 @@ function deleteNote(req) {
const taskContext = TaskContext.getInstance(taskId, 'delete-notes');
noteService.deleteNote(note, deleteId, taskContext);
note.deleteNote(deleteId, taskContext);
if (eraseNotes) {
noteService.eraseNotesWithDeleteId(deleteId);