Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
fix(routes/api/clipper): fix typo in error message
Panagiotis Papadopoulosdd9e1e69d7ec
diff --git a/src/routes/api/clipper.ts b/src/routes/api/clipper.tsindex 56f907c2c1..f08ef5c573 100644--- a/src/routes/api/clipper.ts+++ b/src/routes/api/clipper.ts@@ -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}`;