mirror of
https://github.com/wekan/wekan.git
synced 2025-12-20 09:20:12 +01:00
remove tailing commas
This commit is contained in:
parent
40197ed981
commit
a314d608a2
1 changed files with 4 additions and 4 deletions
|
|
@ -5,15 +5,15 @@ Meteor.publish('user-miniprofile', function(userId) {
|
||||||
fields: {
|
fields: {
|
||||||
'username': 1,
|
'username': 1,
|
||||||
'profile.fullname': 1,
|
'profile.fullname': 1,
|
||||||
'profile.avatarUrl': 1,
|
'profile.avatarUrl': 1
|
||||||
},
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
Meteor.publish('user-admin', function() {
|
Meteor.publish('user-admin', function() {
|
||||||
return Meteor.users.find(this.userId, {
|
return Meteor.users.find(this.userId, {
|
||||||
fields: {
|
fields: {
|
||||||
isAdmin: 1,
|
isAdmin: 1
|
||||||
},
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue