Browse Source

chore: updates README.md

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

+ 4 - 2
README.md

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