Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
public async start(): Promise {
const ormStart = promisify(Waterline.start);
this.orm = await ormStart({
adapters: this.processAdapters(),
datastores: this.api.configs.models.datastores,
models: await this.loadModels(),
});
}