mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 10:26:08 +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(); |     const existingContent = note.getContent(); | ||||||
|     if (typeof existingContent !== "string") { |     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 rewrittenContent = processContent(images, note, content); | ||||||
|     const newContent = `${existingContent}${existingContent.trim() ? "<br/>" : ""}${rewrittenContent}`; |     const newContent = `${existingContent}${existingContent.trim() ? "<br/>" : ""}${rewrittenContent}`; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user