Browse Source

chore: updates README.md

e22m4u 2 years ago
parent
commit
58a21fca4d
1 changed files with 2 additions and 4 deletions
  1. 2 4
      README.md

+ 2 - 4
README.md

@@ -288,16 +288,14 @@ console.log(result);
 //   "address": "Sukhumvit 19 Alley"
 // }
 const result = rep.patchById(place.id, {
-  address: 'Moo 6 Na Kluea',
-  city: 'Pattaya',
+  address: 'Moo 6'
 });
 
 console.log(result);
 // {
 //   "id": 1,
 //   "name": "Terminal 21 Shopping Mall",
-//   "address": "Moo 6 Na Kluea",
-//   "city": "Pattaya"
+//   "address": "Moo 6"
 // }
 ```