Skip to content

Commit

Permalink
Fix syntax error in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
aashikam committed Oct 10, 2024
1 parent 76cdb7e commit 39d77a2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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: <connection string obtained from the MongoDB server>
});
```
Expand Down
4 changes: 2 additions & 2 deletions ballerina/Module.md
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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: <connection string obtained from the MongoDB server>
});
```
Expand Down
4 changes: 2 additions & 2 deletions ballerina/Package.md
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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: <connection string obtained from the MongoDB server>
});
```
Expand Down

0 comments on commit 39d77a2

Please sign in to comment.