You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-12-23 22:42:10 +03:00
lint errors
This commit is contained in:
@@ -931,8 +931,9 @@ MatrixClient.prototype.login = function(loginType, data, callback) {
|
||||
* @return {module:client.Promise} Resolves: TODO
|
||||
* @return {module:http-api.MatrixError} Rejects: with an error response.
|
||||
*/
|
||||
MatrixClient.prototype.register = function(username, password, session_id, auth, callback) {
|
||||
if (auth === undefined) auth = {};
|
||||
MatrixClient.prototype.register = function(username, password,
|
||||
session_id, auth, callback) {
|
||||
if (auth === undefined) { auth = {}; }
|
||||
auth.session = session_id;
|
||||
return this._http.requestWithPrefix(
|
||||
callback, "POST", "/register", undefined,
|
||||
|
||||
Reference in New Issue
Block a user