becca conversion WIP

This commit is contained in:
zadam
2021-05-02 11:23:58 +02:00
parent d13c8771ca
commit 1af10d48a2
29 changed files with 91 additions and 92 deletions

View File

@@ -2,6 +2,7 @@
const repository = require("../repository");
const utils = require('../utils');
const becca = require("../becca/becca.js");
function exportToOpml(taskContext, branch, version, res) {
if (!['1.0', '2.0'].includes(version)) {
@@ -13,7 +14,7 @@ function exportToOpml(taskContext, branch, version, res) {
const note = branch.getNote();
function exportNoteInner(branchId) {
const branch = repository.getBranch(branchId);
const branch = becca.getBranch(branchId);
const note = branch.getNote();
if (note.hasOwnedLabel('excludeFromExport')) {