mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 02:16:05 +01:00 
			
		
		
		
	moving deleteNote and deleteBranch into entities to make them accessible to scripts, #2792
				
					
				
			This commit is contained in:
		| @@ -98,7 +98,7 @@ function register(router) { | ||||
|             return res.sendStatus(204); | ||||
|         } | ||||
|  | ||||
|         noteService.deleteNote(note, null, new TaskContext('no-progress-reporting')); | ||||
|         note.deleteNote(null, new TaskContext('no-progress-reporting')); | ||||
|  | ||||
|         res.sendStatus(204); | ||||
|     }); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user