mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 02:16:05 +01:00 
			
		
		
		
	removed dataKey where it's not necessary anymore (use of CLS instead)
This commit is contained in:
		| @@ -6,7 +6,7 @@ const protected_session = require('../../services/protected_session'); | ||||
| async function getNoteRevisions(req) { | ||||
|     const noteId = req.params.noteId; | ||||
|     const revisions = await sql.getRows("SELECT * FROM note_revisions WHERE noteId = ? order by dateModifiedTo desc", [noteId]); | ||||
|     protected_session.decryptNoteRevisions(req, revisions); | ||||
|     protected_session.decryptNoteRevisions(revisions); | ||||
|  | ||||
|     return revisions; | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user