mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 18:36:30 +01:00 
			
		
		
		
	fix(routes/api/clipper): fix typo in error message
This commit is contained in:
		| @@ -137,7 +137,7 @@ function createNote(req: Request) { | ||||
|  | ||||
|     const existingContent = note.getContent(); | ||||
|     if (typeof existingContent !== "string") { | ||||
|         throw new ValidationError("Invalid note content tpye."); | ||||
|         throw new ValidationError("Invalid note content type."); | ||||
|     } | ||||
|     const rewrittenContent = processContent(images, note, content); | ||||
|     const newContent = `${existingContent}${existingContent.trim() ? "<br/>" : ""}${rewrittenContent}`; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user