mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-03 20:06: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();
 | 
			
		||||
    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