mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-30 18:05:55 +01:00 
			
		
		
		
	expose ability to create note revisions in backend API #2890
This commit is contained in:
		| @@ -206,7 +206,7 @@ function changeTitle(req) { | ||||
|     const noteTitleChanged = note.title !== title; | ||||
|  | ||||
|     if (noteTitleChanged) { | ||||
|         noteService.saveNoteRevision(note); | ||||
|         noteService.saveNoteRevisionIfNeeded(note); | ||||
|     } | ||||
|  | ||||
|     note.title = title; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user