mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 18:36:30 +01:00 
			
		
		
		
	renamed "attachment" to "file" for consistency
This commit is contained in:
		| @@ -26,7 +26,7 @@ router.get('/:noteId', auth.checkApiAuth, wrap(async (req, res, next) => { | ||||
|     protected_session.decryptNote(req, detail); | ||||
|  | ||||
|     if (detail.type === 'file') { | ||||
|         // no need to transfer (potentially large) attachment payload for this request | ||||
|         // no need to transfer (potentially large) file payload for this request | ||||
|         detail.content = null; | ||||
|     } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user