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 {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(