mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-03 20:06:08 +01:00 
			
		
		
		
	allow also deleting note when removing note from note relation
This commit is contained in:
		@@ -115,6 +115,7 @@ function register(app) {
 | 
			
		||||
 | 
			
		||||
    apiRoute(GET, '/api/notes/:noteId', notesApiRoute.getNote);
 | 
			
		||||
    apiRoute(PUT, '/api/notes/:noteId', notesApiRoute.updateNote);
 | 
			
		||||
    apiRoute(DELETE, '/api/notes/:noteId', notesApiRoute.deleteNote);
 | 
			
		||||
    apiRoute(POST, '/api/notes/:parentNoteId/children', notesApiRoute.createNote);
 | 
			
		||||
    apiRoute(GET, '/api/notes/:parentNoteId/children', notesApiRoute.getChildren);
 | 
			
		||||
    apiRoute(PUT, '/api/notes/:noteId/sort', notesApiRoute.sortNotes);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user