No need to return externalLdapConfig in getClient()

This commit is contained in:
Johannes Zellner
2020-07-01 14:52:11 +02:00
parent cca19f00c5
commit 5cb71e9443
+1 -1
View File
@@ -94,7 +94,7 @@ function getClient(externalLdapConfig, callback) {
if (error instanceof ldap.InvalidCredentialsError) return callback(new BoxError(BoxError.INVALID_CREDENTIALS));
if (error) return callback(new BoxError(BoxError.EXTERNAL_ERROR, error));
callback(null, client, externalLdapConfig);
callback(null, client);
});
}