Skip to content

Commit

Permalink
Merge pull request #7045 from RocketChat/fix-rest-setavatar
Browse files Browse the repository at this point in the history
[FIX] Fix avatar upload via users.setAvatar REST endpoint
  • Loading branch information
engelgabriel authored May 22, 2017
2 parents 8deee3b + 2acf3ec commit 362ac8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/rocketchat-api/server/v1/users.js
Original file line number Diff line number Diff line change
Expand Up @@ -219,8 +219,8 @@ RocketChat.API.v1.addRoute('users.setAvatar', { authRequired: true }, {
callback();
}));

this.request.pipe(busboy);
}));
this.request.pipe(busboy);
})();
}

Expand Down

0 comments on commit 362ac8e

Please sign in to comment.