From 364fe3ba47023c39341d90a309a55ace76fce12a Mon Sep 17 00:00:00 2001 From: David Baker Date: Tue, 2 Aug 2016 15:53:29 +0100 Subject: [PATCH] Oops, s/MatrixClient/MatrixBaseApis/ --- lib/base-apis.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/base-apis.js b/lib/base-apis.js index 7a93c9414..497859a91 100644 --- a/lib/base-apis.js +++ b/lib/base-apis.js @@ -122,7 +122,7 @@ MatrixBaseApis.prototype.loginFlows = function(callback) { * @param {module:client.callback} callback Optional. * @return {module:client.Promise} Resolves: On success, the empty object */ -MatrixClient.prototype.logout = function(callback) { +MatrixBaseApis.prototype.logout = function(callback) { return this._http.authedRequest( callback, "POST", '/logout' );