summaryrefslogtreecommitdiffstats
path: root/collections/users.js
diff options
context:
space:
mode:
Diffstat (limited to 'collections/users.js')
-rw-r--r--collections/users.js2
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({