Skip to content

Commit

Permalink
Fix avatar upload via users.setAvatar REST endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
sampaiodiego committed May 22, 2017
1 parent 61a7c63 commit 2acf3ec
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 2acf3ec

Please sign in to comment.