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
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.tsindex 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 inboxconst { title, content, images } = req.body;const clipType = "clippings";