From 39d77a28c40fa5933915f2dc593ed2cd102ac250 Mon Sep 17 00:00:00 2001 From: aashikam Date: Thu, 10 Oct 2024 16:04:35 +0530 Subject: [PATCH] Fix syntax error in docs --- README.md | 4 ++-- ballerina/Module.md | 4 ++-- ballerina/Package.md | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index d4a1912..1d49ea5 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 = new check ({ connection: { serverAddress: { host: "localhost", @@ -82,7 +82,7 @@ mongodb:Client mongoDb = new ({ #### Initialize the MongoDB client using the connection string ```ballerina -mongodb:Client mongoDb = new ({ +mongodb:Client mongoDb = new check ({ connectionString: }); ``` diff --git a/ballerina/Module.md b/ballerina/Module.md index 815c2ee..cf84bb8 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 = new check ({ connection: { serverAddress: { host: "localhost", @@ -73,7 +73,7 @@ mongodb:Client mongoDb = new ({ #### Initialize the MongoDB client using the connection string ```ballerina -mongodb:Client mongoDb = new ({ +mongodb:Client mongoDb = new check ({ connectionString: }); ``` diff --git a/ballerina/Package.md b/ballerina/Package.md index 815c2ee..cf84bb8 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 = new check ({ connection: { serverAddress: { host: "localhost", @@ -73,7 +73,7 @@ mongodb:Client mongoDb = new ({ #### Initialize the MongoDB client using the connection string ```ballerina -mongodb:Client mongoDb = new ({ +mongodb:Client mongoDb = new check ({ connectionString: }); ```