Move and cleanup getting collections into MongoStorageAdapter.
This commit is contained in:
@@ -52,8 +52,6 @@ function getDatabaseConnection(appId: string, collectionPrefix: string) {
|
||||
dbConnections[appId] = new DatabaseController(storageAdapter, {
|
||||
collectionPrefix: collectionPrefix
|
||||
});
|
||||
|
||||
dbConnections[appId].connect();
|
||||
return dbConnections[appId];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user