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: clarify docstring for addClipping function
contributorcda957c21aa6
diff --git a/apps/server/src/routes/api/clipper.ts b/apps/server/src/routes/api/clipper.tsindex dad0365e6e..69a54283ef 100644--- a/apps/server/src/routes/api/clipper.ts+++ b/apps/server/src/routes/api/clipper.ts@@ -13,9 +13,9 @@ interface Image {}async function addClipping(req: Request) {- // 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+ // if a #clipType=clippings note exists with the same 'pageUrl' attribute,+ // append the content to that note+ // otherwise create a new note under clipperInbox (or today's note)const { title, content, images } = req.body;const clipType = "clippings";