You've already forked matrix-js-sdk
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:
@@ -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(
|
||||
|
Reference in New Issue
Block a user