From d3db4ee63d4c14f020f294529b395388db8ae48e Mon Sep 17 00:00:00 2001 From: David Baker Date: Tue, 11 Oct 2016 14:56:21 +0100 Subject: [PATCH] lint bunny --- lib/base-apis.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/base-apis.js b/lib/base-apis.js index b5d151392..e886ad1ca 100644 --- a/lib/base-apis.js +++ b/lib/base-apis.js @@ -139,7 +139,9 @@ MatrixBaseApis.prototype.register = function( if (username !== undefined && username !== null) { params.username = username; } if (password !== undefined && password !== null) { params.password = password; } 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); };