diff --git a/src/routes/api/clipper.js b/src/routes/api/clipper.js index c815126d4..f08f8ca64 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",