From ec3a04d0a58e69c41ac1967608ed806c5e3b93c7 Mon Sep 17 00:00:00 2001 From: Mykola Buhaiov Date: Wed, 12 Jun 2024 10:16:30 +0300 Subject: [PATCH] fix: fix --- Sources/HealthChecks/MongoHealthChecks/MongoRequest.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/HealthChecks/MongoHealthChecks/MongoRequest.swift b/Sources/HealthChecks/MongoHealthChecks/MongoRequest.swift index f0caf68..43fec8b 100644 --- a/Sources/HealthChecks/MongoHealthChecks/MongoRequest.swift +++ b/Sources/HealthChecks/MongoHealthChecks/MongoRequest.swift @@ -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)) } }