From f13216a543addecc445173a786ac510081ec244f Mon Sep 17 00:00:00 2001 From: Ankit Kumar Dubey Date: Sun, 22 Oct 2023 13:13:56 +0530 Subject: [PATCH] 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. --- docs/js_reference/Client.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/js_reference/Client.md b/docs/js_reference/Client.md index 3d86e38..5425996 100644 --- a/docs/js_reference/Client.md +++ b/docs/js_reference/Client.md @@ -47,7 +47,7 @@ If there is an issue creating the collection. const collection = await client.createCollection({ name: "my_collection", metadata: { - "description": "My first collection" + description: "My first collection" } }); ``` @@ -152,7 +152,7 @@ If there is an issue getting or creating the collection. const collection = await client.getOrCreateCollection({ name: "my_collection", metadata: { - "description": "My first collection" + description: "My first collection" } }); ```