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-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",

View file

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