mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 10:26:08 +01:00 
			
		
		
		
	added contentLength to note entity
This commit is contained in:
		| @@ -23,10 +23,7 @@ async function uploadFile(req) { | ||||
|         isProtected: parentNote.isProtected && protectedSessionService.isProtectedSessionAvailable(), | ||||
|         type: mime.startsWith("image/") ? 'image' : 'file', | ||||
|         mime: file.mimetype, | ||||
|         attributes: [ | ||||
|             { type: "label", name: "originalFileName", value: originalName }, | ||||
|             { type: "label", name: "fileSize", value: size } | ||||
|         ] | ||||
|         attributes: [{ type: "label", name: "originalFileName", value: originalName }] | ||||
|     }); | ||||
|  | ||||
|     return { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user