server-ts: Port services/setup

This commit is contained in:
Elian Doran
2024-04-03 23:18:39 +03:00
parent 984ce49168
commit 532ed1d3f9
8 changed files with 42 additions and 24 deletions

View File

@@ -107,7 +107,7 @@ async function sync() {
}
async function login() {
const setupService = require('./setup.js'); // circular dependency issue
const setupService = require('./setup'); // circular dependency issue
if (!await setupService.hasSyncServerSchemaAndSeed()) {
await setupService.sendSeedToSyncServer();