From dd9e1e69d7ec80c8ff081b4029fdd132e19670f2 Mon Sep 17 00:00:00 2001 From: Panagiotis Papadopoulos Date: Sat, 8 Mar 2025 15:27:39 +0100 Subject: [PATCH] fix(routes/api/clipper): fix typo in error message --- src/routes/api/clipper.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/api/clipper.ts b/src/routes/api/clipper.ts index 56f907c2c..f08ef5c57 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() ? "
" : ""}${rewrittenContent}`;