Browse Source

chore: updates README.md

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

+ 1 - 1
README.md

@@ -165,7 +165,7 @@ schema.defineModel({
 
 // репозиторий "city"
 const cityRep = schema.getRepository('city');
-// cityRep.create({name: 'St. Petersburg'});
+// await cityRep.create({name: 'St. Petersburg'});
 // ...
 ```