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}`;