diff --git a/package.json b/package.json index 3d0016a46..e762d8c37 100644 --- a/package.json +++ b/package.json @@ -74,7 +74,8 @@ "turndown": "5.0.3", "turndown-plugin-gfm": "1.0.2", "unescape": "1.0.1", - "ws": "7.2.0" + "ws": "7.2.0", + "xml2js": "0.4.22" }, "devDependencies": { "electron": "6.0.12", diff --git a/src/services/import/opml.js b/src/services/import/opml.js index b4bd1a70b..fc993dbf7 100644 --- a/src/services/import/opml.js +++ b/src/services/import/opml.js @@ -48,6 +48,7 @@ async function importOpml(taskContext, fileBuffer, parentNote) { parentNoteId, title, content, + type: 'text', isProtected: parentNote.isProtected && protectedSessionService.isProtectedSessionAvailable() });