1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-09-01 21:21:58 +03:00

Camel case

This commit is contained in:
Erik Johnston
2015-07-16 09:56:36 +01:00
parent 83563a23fe
commit ec5352183a

View File

@@ -807,17 +807,17 @@ MatrixClient.prototype.addThreePid = function(creds, bind, callback) {
}; };
/** /**
* @param {Object} auth_dict * @param {Object} authDict
* @param {string} new_password * @param {string} newPassword
* @param {module:client.callback} callback Optional. * @param {module:client.callback} callback Optional.
* @return {module:client.Promise} Resolves: TODO * @return {module:client.Promise} Resolves: TODO
* @return {module:http-api.MatrixError} Rejects: with an error response. * @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 path = "/account/password";
var data = { var data = {
'auth': auth_dict, 'auth': authDict,
'new_password': new_password, 'new_password': newPassword,
}; };
return this._http.authedRequestWithPrefix( return this._http.authedRequestWithPrefix(