allow user to choose theme during initial setup

This commit is contained in:
zadam
2019-08-11 10:28:49 +02:00
parent de4733e848
commit 963ed32ce4
9 changed files with 73 additions and 34 deletions

View File

@@ -14,9 +14,9 @@ async function getStatus() {
}
async function setupNewDocument(req) {
const { username, password } = req.body;
const { username, password, theme } = req.body;
await sqlInit.createInitialDatabase(username, password);
await sqlInit.createInitialDatabase(username, password, theme);
}
async function setupSyncFromServer(req) {