1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-11-28 05:03:59 +03:00

lint bunny

This commit is contained in:
David Baker
2016-10-11 14:56:21 +01:00
parent 5d049cc5e8
commit d3db4ee63d

View File

@@ -139,7 +139,9 @@ MatrixBaseApis.prototype.register = function(
if (username !== undefined && username !== null) { params.username = username; } if (username !== undefined && username !== null) { params.username = username; }
if (password !== undefined && password !== null) { params.password = password; } if (password !== undefined && password !== null) { params.password = password; }
if (bindEmail !== undefined && bindEmail !== null) { params.bind_email = bindEmail; } if (bindEmail !== undefined && bindEmail !== null) { params.bind_email = bindEmail; }
if (guestAccessToken !== undefined && guestAccessToken !== null) { params.guest_access_token = guestAccessToken; } if (guestAccessToken !== undefined && guestAccessToken !== null) {
params.guest_access_token = guestAccessToken;
}
return this.registerRequest(params, undefined, callback); return this.registerRequest(params, undefined, callback);
}; };