cgserver 12.2.2 → 12.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -159,7 +159,7 @@ class MongoExt {
|
|
|
159
159
|
this._mongoClient.on("connectionCreated", this.onConnectionCreated.bind(this));
|
|
160
160
|
this._mongoClient.on("connectionReady", this.onConnectionReady.bind(this));
|
|
161
161
|
this._mongoClient.on("connectionClosed", this.onConnectionClosed.bind(this));
|
|
162
|
-
this._mongoClient.connect();
|
|
162
|
+
await this._mongoClient.connect();
|
|
163
163
|
return true;
|
|
164
164
|
}
|
|
165
165
|
onConnectionCreated(event) {
|