mirror of
https://github.com/wekan/wekan.git
synced 2025-04-20 12:07:11 -04:00
dangling commas error
This commit is contained in:
parent
a314d608a2
commit
88d3f38d53
2 changed files with 6 additions and 6 deletions
|
@ -106,8 +106,8 @@ Users.attachSchema(new SimpleSchema({
|
|||
},
|
||||
isAdmin: {
|
||||
type: Boolean,
|
||||
optional: true
|
||||
}
|
||||
optional: true,
|
||||
},
|
||||
}));
|
||||
|
||||
// Search a user in the complete server database by its name or username. This
|
||||
|
|
|
@ -5,15 +5,15 @@ Meteor.publish('user-miniprofile', function(userId) {
|
|||
fields: {
|
||||
'username': 1,
|
||||
'profile.fullname': 1,
|
||||
'profile.avatarUrl': 1
|
||||
}
|
||||
'profile.avatarUrl': 1,
|
||||
},
|
||||
});
|
||||
});
|
||||
|
||||
Meteor.publish('user-admin', function() {
|
||||
return Meteor.users.find(this.userId, {
|
||||
fields: {
|
||||
isAdmin: 1
|
||||
}
|
||||
isAdmin: 1,
|
||||
},
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue