Browse Source

chore: updated README.md

e22m4u 1 month ago
parent
commit
61729774f0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      README.md

+ 1 - 1
README.md

@@ -1095,7 +1095,7 @@ const news = await newsRepository.find({
 // для запроса используется метод "findOne"
 // и вложенные фильтры в опции "include"
 const userProfile = await userRepository.findOne({
-  where: { username: 'john.doe' },
+  where: {username: 'john.doe'},
   fields: ['username', 'avatarUrl', 'bio'],
   include: {
     relation: 'posts',