Skip to content

Commit

Permalink
Step 13.33: Allow updating pictureId
Browse files Browse the repository at this point in the history
  • Loading branch information
dotansimha authored and darkbasic committed Jun 13, 2017
1 parent 5862e99 commit a8dbbff
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion api/server/methods.ts
Expand Up @@ -59,7 +59,8 @@ Meteor.methods({
'User must be logged-in to create a new chat');

check(profile, {
name: nonEmptyString
name: nonEmptyString,
pictureId: Match.Maybe(nonEmptyString)
});

Meteor.users.update(this.userId, {
Expand Down

0 comments on commit a8dbbff

Please sign in to comment.