Permalink
Browse files

Step 13.34: Allow updating pictureId

  • Loading branch information...
dotansimha authored and darkbasic committed Jan 24, 2017
1 parent 9ee3856 commit b6f23f740e46a812ec7c2af6512b7f099e626129
Showing with 2 additions and 1 deletion.
  1. +2 −1 api/server/methods.ts
@@ -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, {

0 comments on commit b6f23f7

Please sign in to comment.