Skip to content

Commit

Permalink
fix: fix
Browse files Browse the repository at this point in the history
  • Loading branch information
gulivero1773 committed Jun 12, 2024
1 parent df6044f commit ec3a04d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/HealthChecks/MongoHealthChecks/MongoRequest.swift
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public final class MongoRequest: MongoRequestSendable {
extension Application {
/// Initialize MongoDB
/// - Parameter connectionString: URI as `String`. Example: "mongodb://localhost/myapp
public func initializeMongoCluster(connectionString: String) async throws {
public func initializeMongoClusterLibrary(connectionString: String) async throws {
self.mongoCluster = try await MongoCluster(connectingTo: ConnectionSettings(connectionString))
}
}

0 comments on commit ec3a04d

Please sign in to comment.