fixes in opml export and note content loading

This commit is contained in:
zadam
2019-02-10 22:45:44 +01:00
parent 6be8a3f343
commit 8aa7e2d0a0
4 changed files with 13 additions and 4 deletions

View File

@@ -10,7 +10,7 @@ async function exportToOpml(exportContext, branch, res) {
const branch = await repository.getBranch(branchId);
const note = await branch.getNote();
if (await note.hasLabel('excludeFromExport')) {
if (!note.isStringNote() || await note.hasLabel('excludeFromExport')) {
return;
}