From cb478a8d05b3328d9222b1d013469acec369bcf3 Mon Sep 17 00:00:00 2001 From: aashikam Date: Thu, 10 Oct 2024 16:14:40 +0530 Subject: [PATCH] Fix syntax error in docs --- README.md | 6 +++--- ballerina/Module.md | 6 +++--- ballerina/Package.md | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index d4a1912..ea7af8d 100644 --- a/README.md +++ b/README.md @@ -64,7 +64,7 @@ import ballerinax/mongodb; #### Initialize the MongoDB client using the connection parameters ```ballerina -mongodb:Client mongoDb = new ({ +mongodb:Client mongoDb = check new ({ connection: { serverAddress: { host: "localhost", @@ -82,8 +82,8 @@ mongodb:Client mongoDb = new ({ #### Initialize the MongoDB client using the connection string ```ballerina -mongodb:Client mongoDb = new ({ - connectionString: +mongodb:Client mongoDb = check new ({ + connection: }); ``` diff --git a/ballerina/Module.md b/ballerina/Module.md index 815c2ee..f32dfce 100644 --- a/ballerina/Module.md +++ b/ballerina/Module.md @@ -55,7 +55,7 @@ import ballerinax/mongodb; #### Initialize the MongoDB client using the connection parameters ```ballerina -mongodb:Client mongoDb = new ({ +mongodb:Client mongoDb = check new ({ connection: { serverAddress: { host: "localhost", @@ -73,8 +73,8 @@ mongodb:Client mongoDb = new ({ #### Initialize the MongoDB client using the connection string ```ballerina -mongodb:Client mongoDb = new ({ - connectionString: +mongodb:Client mongoDb = check new ({ + connection: }); ``` diff --git a/ballerina/Package.md b/ballerina/Package.md index 815c2ee..f32dfce 100644 --- a/ballerina/Package.md +++ b/ballerina/Package.md @@ -55,7 +55,7 @@ import ballerinax/mongodb; #### Initialize the MongoDB client using the connection parameters ```ballerina -mongodb:Client mongoDb = new ({ +mongodb:Client mongoDb = check new ({ connection: { serverAddress: { host: "localhost", @@ -73,8 +73,8 @@ mongodb:Client mongoDb = new ({ #### Initialize the MongoDB client using the connection string ```ballerina -mongodb:Client mongoDb = new ({ - connectionString: +mongodb:Client mongoDb = check new ({ + connection: }); ```