diff --git a/source/includes/stable-api-snippets/kotlin-sync-client.kt b/source/includes/stable-api-snippets/kotlin-sync-client.kt index ca32a674e..151accfc5 100644 --- a/source/includes/stable-api-snippets/kotlin-sync-client.kt +++ b/source/includes/stable-api-snippets/kotlin-sync-client.kt @@ -2,8 +2,8 @@ import com.mongodb.ConnectionString import com.mongodb.MongoClientSettings import com.mongodb.ServerApi import com.mongodb.ServerApiVersion -import com.mongodb.kotlin.client.sync.MongoClient -import com.mongodb.kotlin.client.sync.MongoDatabase +import com.mongodb.kotlin.client.MongoClient +import com.mongodb.kotlin.client.MongoDatabase // Replace the placeholder with your MongoDB deployment's connection string val uri = "" diff --git a/source/kotlin-sync.txt b/source/kotlin-sync.txt index 1fd35ff95..f820515f2 100644 --- a/source/kotlin-sync.txt +++ b/source/kotlin-sync.txt @@ -75,8 +75,8 @@ Connect to MongoDB Atlas .. code-block:: kotlin import com.mongodb.ConnectionString - import com.mongodb.kotlin.client.sync.MongoClient - import com.mongodb.kotlin.client.sync.MongoDatabase + import com.mongodb.kotlin.client.MongoClient + import com.mongodb.kotlin.client.MongoDatabase import com.mongodb.MongoClientSettings // Replace the placeholder with your Atlas connection string