Skip to content

Build your personal knowledge base with Trilium Notes

chore: reconcile comment for addClipping with current implementation

contributor11b661614527
diff --git a/apps/server/src/routes/api/clipper.ts b/apps/server/src/routes/api/clipper.ts
index f9a4ae61e7..ed4aae9965 100644
--- a/apps/server/src/routes/api/clipper.ts
+++ b/apps/server/src/routes/api/clipper.ts
@@ -14,9 +14,9 @@ interface Image {
}
async function addClipping(req: Request) {
- // if a note under the clipperInbox has the same 'pageUrl' attribute,
- // add the content to that note and clone it under today's inbox
- // otherwise just create a new note under today's inbox
+ // if a note exists with has the same 'pageUrl' attribute,
+ // add the content to the existing note
+ // otherwise create a new note under today's inbox
const { title, content, images } = req.body;
const clipType = "clippings";