mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 23:40:13 +01:00
This commit also removes the “import a single Trello card” as we couldn’t figure out some reasonable use case. We also create a new publication on the server to provide the minimal user profile informations required to display an avatar.
11 lines
221 B
JavaScript
11 lines
221 B
JavaScript
Meteor.publish('user-miniprofile', function(userId) {
|
|
check(userId, String);
|
|
|
|
return Users.find(userId, {
|
|
fields: {
|
|
'username': 1,
|
|
'profile.fullname': 1,
|
|
'profile.avatarUrl': 1,
|
|
},
|
|
});
|
|
});
|