mirror of
https://github.com/vale981/Vulcan
synced 2025-03-06 10:01:40 -05:00
fix completeUserProfile check
This commit is contained in:
parent
dc8a0fb1e2
commit
63f701ad12
1 changed files with 2 additions and 2 deletions
|
@ -10,8 +10,8 @@ var completeUserProfile = function (modifier, userId, user) {
|
|||
|
||||
Meteor.methods({
|
||||
completeUserProfile: function (modifier, userId) {
|
||||
|
||||
check(modifier, {$set: Object, $unset: Object});
|
||||
|
||||
check(modifier, Match.OneOf({$set: Object}, {$unset: Object}, {$set: Object, $unset: Object}));
|
||||
check(userId, String);
|
||||
|
||||
var currentUser = Meteor.user(),
|
||||
|
|
Loading…
Add table
Reference in a new issue