Skip to content

Build your personal knowledge base with Trilium Notes

fix saving images from web clipper, closes #2249

zadamaf40d73ceede
diff --git a/src/routes/api/clipper.js b/src/routes/api/clipper.js
index c815126d4c..f08f8ca643 100644
--- a/src/routes/api/clipper.js
+++ b/src/routes/api/clipper.js
@@ -15,7 +15,7 @@ const htmlSanitizer = require('../../services/html_sanitizer');
const {formatAttrForSearch} = require("../../services/attribute_formatter");
function findClippingNote(todayNote, pageUrl) {
- const notes = todayNote.searchNoteInSubtree(
+ const notes = todayNote.searchNotesInSubtree(
formatAttrForSearch({
type: 'label',
name: "pageUrl",