fix sync double initialization issue

This commit is contained in:
azivner
2018-09-11 10:01:40 +02:00
parent e8797a137f
commit 9b425025c9
3 changed files with 9 additions and 8 deletions

View File

@@ -6,7 +6,8 @@ const log = require('../../services/log');
async function getStatus() {
return {
isInitialized: await sqlInit.isDbInitialized()
isInitialized: await sqlInit.isDbInitialized(),
schemaExists: await sqlInit.schemaExists()
};
}