Skip to content

Commit 8a62f28

Browse files
Copilothotlong
andcommitted
Fix: Make MongoDriver.connect() public to match Driver interface
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
1 parent c794beb commit 8a62f28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/drivers/mongo/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export class MongoDriver implements Driver {
2121
this.connected = this.connect();
2222
}
2323

24-
private async connect() {
24+
async connect() {
2525
await this.client.connect();
2626
this.db = this.client.db(this.config.dbName);
2727
}

0 commit comments

Comments
 (0)