Browse Source

chore: updates README.md

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

+ 2 - 2
README.md

@@ -214,7 +214,7 @@ const rep = schema.getRepository('place');
 идентификатор.
 
 ```js
-const burgerKing = await rep.create({
+const place = await rep.create({
   "name": "Burger King at Avenue Mall",
   "location": {
     "lat": 32.412891,
@@ -222,7 +222,7 @@ const burgerKing = await rep.create({
   },
 });
 
-console.log(burgerKing);
+console.log(place);
 // {
 //   "id": 1,
 //   "name": "Burger King at Avenue Mall",