fix(core): update

This commit is contained in:
2019-01-08 19:55:13 +01:00
parent ab1799f4f2
commit e56def621c
2 changed files with 2 additions and 2 deletions

View File

@ -44,7 +44,7 @@ export class SmartdataDb {
/**
* connects to the database that was specified during instance creation
*/
async connect(): Promise<any> {
async init(): Promise<any> {
let finalConnectionUrl = this.smartdataOptions.mongoDbUrl;
if (this.smartdataOptions.mongoDbPass) {
finalConnectionUrl = mongoHelpers.addPassword(