You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-11-29 16:43:09 +03:00
Oops, s/MatrixClient/MatrixBaseApis/
This commit is contained in:
@@ -122,7 +122,7 @@ MatrixBaseApis.prototype.loginFlows = function(callback) {
|
|||||||
* @param {module:client.callback} callback Optional.
|
* @param {module:client.callback} callback Optional.
|
||||||
* @return {module:client.Promise} Resolves: On success, the empty object
|
* @return {module:client.Promise} Resolves: On success, the empty object
|
||||||
*/
|
*/
|
||||||
MatrixClient.prototype.logout = function(callback) {
|
MatrixBaseApis.prototype.logout = function(callback) {
|
||||||
return this._http.authedRequest(
|
return this._http.authedRequest(
|
||||||
callback, "POST", '/logout'
|
callback, "POST", '/logout'
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user