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

@@ -7,6 +7,7 @@ const syncOptions = require('./sync_options');
const request = require('./request');
const appInfo = require('./app_info');
const utils = require('./utils');
const becca = require("./becca/becca.js");
async function hasSyncServerSchemaAndSeed() {
const response = await requestToSyncServer('GET', '/api/setup/status');
@@ -107,8 +108,8 @@ async function setupSyncFromSyncServer(syncServerHost, syncProxy, username, pass
function getSyncSeedOptions() {
return [
repository.getOption('documentId'),
repository.getOption('documentSecret')
becca.getOption('documentId'),
becca.getOption('documentSecret')
];
}