diff --git a/packages/rocketchat-api/server/v1/users.js b/packages/rocketchat-api/server/v1/users.js index aa66fab610f0..dc1e1b928b54 100644 --- a/packages/rocketchat-api/server/v1/users.js +++ b/packages/rocketchat-api/server/v1/users.js @@ -219,8 +219,8 @@ RocketChat.API.v1.addRoute('users.setAvatar', { authRequired: true }, { callback(); })); - this.request.pipe(busboy); })); + this.request.pipe(busboy); })(); }