fix OPML import

This commit is contained in:
zadam 2019-11-16 18:04:13 +01:00
parent 8a7228146c
commit 767aaa18f4
2 changed files with 3 additions and 1 deletions

View file

@ -74,7 +74,8 @@
"turndown": "5.0.3", "turndown": "5.0.3",
"turndown-plugin-gfm": "1.0.2", "turndown-plugin-gfm": "1.0.2",
"unescape": "1.0.1", "unescape": "1.0.1",
"ws": "7.2.0" "ws": "7.2.0",
"xml2js": "0.4.22"
}, },
"devDependencies": { "devDependencies": {
"electron": "6.0.12", "electron": "6.0.12",

View file

@ -48,6 +48,7 @@ async function importOpml(taskContext, fileBuffer, parentNote) {
parentNoteId, parentNoteId,
title, title,
content, content,
type: 'text',
isProtected: parentNote.isProtected && protectedSessionService.isProtectedSessionAvailable() isProtected: parentNote.isProtected && protectedSessionService.isProtectedSessionAvailable()
}); });