mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 10:26:08 +01:00 
			
		
		
		
	script related changes
This commit is contained in:
		| @@ -6,7 +6,7 @@ const attributes = require('./attributes'); | ||||
| const protected_session = require('./protected_session'); | ||||
|  | ||||
| async function getNoteById(noteId, dataKey) { | ||||
|     const note = await sql.getRow("SELECT * FROM notes WHERE noteId = ?", [noteId]); | ||||
|     const note = await sql.getEntity("SELECT * FROM notes WHERE noteId = ?", [noteId]); | ||||
|  | ||||
|     protected_session.decryptNote(dataKey, note); | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user