From ec5352183a61e48c6728a721b4e7ae57731dc8ce Mon Sep 17 00:00:00 2001 From: Erik Johnston Date: Thu, 16 Jul 2015 09:56:36 +0100 Subject: [PATCH] Camel case --- lib/client.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/client.js b/lib/client.js index 754deeac9..28078adda 100644 --- a/lib/client.js +++ b/lib/client.js @@ -807,17 +807,17 @@ MatrixClient.prototype.addThreePid = function(creds, bind, callback) { }; /** - * @param {Object} auth_dict - * @param {string} new_password + * @param {Object} authDict + * @param {string} newPassword * @param {module:client.callback} callback Optional. * @return {module:client.Promise} Resolves: TODO * @return {module:http-api.MatrixError} Rejects: with an error response. */ -MatrixClient.prototype.setPassword = function(auth_dict, new_password, callback) { +MatrixClient.prototype.setPassword = function(authDict, newPassword, callback) { var path = "/account/password"; var data = { - 'auth': auth_dict, - 'new_password': new_password, + 'auth': authDict, + 'new_password': newPassword, }; return this._http.authedRequestWithPrefix(