clipper now creates notes with image attachments instead of image notes

pull/255/head
zadam 2023-08-09 00:01:31 +07:00
parent 00eaa16985
commit c257bc07a8
1 changed files with 0 additions and 2 deletions

@ -11,7 +11,6 @@ const ws = require('../../services/ws');
const log = require('../../services/log');
const utils = require('../../services/utils');
const path = require('path');
const BAttribute = require('../../becca/entities/battribute');
const htmlSanitizer = require('../../services/html_sanitizer');
const {formatAttrForSearch} = require("../../services/attribute_formatter");
const jsdom = require("jsdom");
@ -130,7 +129,6 @@ function createNote(req) {
const newContent = `${existingContent}${existingContent.trim() ? "<br/>" : ""}${rewrittenContent}`;
note.setContent(newContent);
const noteService = require("../../services/notes");
noteService.asyncPostProcessContent(note, newContent); // to mark attachments as used
return {