You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by va...@apache.org on 2024/09/14 12:33:49 UTC

(couchdb) 01/02: documentation: /{db}/_bulk_get: remove trailing , on JSON example

This is an automated email from the ASF dual-hosted git repository.

vatamane pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/couchdb.git

commit c183597ee167ac740838032cdb33cc727b261b2e
Author: James Dingwall <ja...@dingwall.me.uk>
AuthorDate: Fri Sep 13 17:21:39 2024 +0100

    documentation: /{db}/_bulk_get: remove trailing , on JSON example
    
    The trailing , on the final element is not valid JSON syntax.
    
    ```
    {
        "id": "bar",
    }
    ```
    
    becomes
    
    ```
    {
        "id": "bar"
    }
    ```
---
 src/docs/src/api/database/bulk-api.rst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/docs/src/api/database/bulk-api.rst b/src/docs/src/api/database/bulk-api.rst
index 1d07f1a06..5fc53ac43 100644
--- a/src/docs/src/api/database/bulk-api.rst
+++ b/src/docs/src/api/database/bulk-api.rst
@@ -603,10 +603,10 @@ Sending multiple queries to a database
                     "rev": "1-4a7e4ae49c4366eaed8edeaea8f784ad",
                 },
                 {
-                    "id": "bar",
+                    "id": "bar"
                 }
                 {
-                    "id": "baz",
+                    "id": "baz"
                 }
             ]
         }