Skip to content
This repository was archived by the owner on May 10, 2024. It is now read-only.

Commit f13216a

Browse files
DOC: Updated Client.md within js_reference folder.
const collection = await client.createCollection({ name: "my_collection", metadata: { "description": "My first collection" } }); In above code snippet, the JavaScript object of metadata property has a "description" property, which ideally should be written as description without the "" (double quotes). Thus, this double quotes is removed from the Client.md file.
1 parent ad2ce53 commit f13216a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/js_reference/Client.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ If there is an issue creating the collection.
4747
const collection = await client.createCollection({
4848
name: "my_collection",
4949
metadata: {
50-
"description": "My first collection"
50+
description: "My first collection"
5151
}
5252
});
5353
```
@@ -152,7 +152,7 @@ If there is an issue getting or creating the collection.
152152
const collection = await client.getOrCreateCollection({
153153
name: "my_collection",
154154
metadata: {
155-
"description": "My first collection"
155+
description: "My first collection"
156156
}
157157
});
158158
```

0 commit comments

Comments
 (0)