Skip to content

Commit

Permalink
Merge pull request #9049 from RocketChat/fix/api-exception
Browse files Browse the repository at this point in the history
Fix api regression (exception when deleting user)
  • Loading branch information
rodrigok authored Dec 8, 2017
2 parents 513271f + 6d52223 commit 4d46831
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 4d46831

Please sign in to comment.