Sfoglia il codice sorgente

Merge pull request #424 from xiangli-cmu/fix_lock_doc

docs(README.md) fix wrong index value in lock section
Brandon Philips 12 anni fa
parent
commit
8edc1f30d9
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      README.md

+ 1 - 1
README.md

@@ -1048,7 +1048,7 @@ curl http://127.0.0.1:4001/mod/v2/lock/customer1?field=index
 **Delete the "customer1" lock with the index 2**
 
 ```sh
-curl -X DELETE http://127.0.0.1:4001/mod/v2/lock/customer1?index=customer1
+curl -X DELETE http://127.0.0.1:4001/mod/v2/lock/customer1?index=2
 ```
 
 **Delete the "customer1" lock with the value "bar"**