Skip to content

Commit

Permalink
Fix api regression (exeption when deleting user)
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigok committed Dec 8, 2017
1 parent 683792a commit 6d52223
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/rocketchat-api/server/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,9 @@ class API extends Restivus {
const args = loginCompatibility(this.bodyParams);

const invocation = new DDPCommon.MethodInvocation({
connection: {}
connection: {
close() {}
}
});

let auth;
Expand Down

0 comments on commit 6d52223

Please sign in to comment.