fix init of synced options in new database

This commit is contained in:
azivner
2018-08-17 18:11:03 +02:00
parent a42bbba0e5
commit 7f9a8a55ca
5 changed files with 24 additions and 14 deletions

View File

@@ -111,7 +111,7 @@ async function createDatabaseForSync(options, syncServerHost = '', syncProxy = '
await sql.transactional(async () => {
await sql.executeScript(schema);
await require('./options_init').initNotSyncedOptions(false, '', syncServerHost, syncProxy);
await require('./options_init').initNotSyncedOptions(false, 'root', syncServerHost, syncProxy);
// document options required for sync to kick off
for (const opt of options) {