Access polish, import v1 stsarted

This commit is contained in:
Jamie Curnow committed 2018-08-21 08:33:51 +10:00
1 parent 7d9e716c7c
commit 8d925deeb0
27 files changed
+525 -120

No files matched your search

+3 -3
View File
@@ -7,14 +7,14 @@ const logger = require('./logger').global;
function appStart () {
const migrate = require('./migrate');
const setup = require('./setup');
const importer = require('./importer');
const app = require('./app');
const apiValidator = require('./lib/validator/api');
const internalCertificate = require('./internal/certificate');
return migrate.latest()
.then(() => {
return setup();
})
.then(setup)
.then(importer)
.then(() => {
return apiValidator.loadSchemas;
})