diff options
Diffstat (limited to 'collections/users.js')
-rw-r--r-- | collections/users.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/collections/users.js b/collections/users.js index 34a94605..fa910c4a 100644 --- a/collections/users.js +++ b/collections/users.js @@ -5,7 +5,7 @@ Users = Meteor.users; const searchInFields = ['username', 'profile.name']; Users.initEasySearch(searchInFields, { use: 'mongo-db', - returnFields: searchInFields, + returnFields: [...searchInFields, 'profile.avatarUrl'], }); Users.helpers({ |