1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-11-26 17:03:12 +03:00

unused param

getTerms is un-authed so doesn't need the access token
This commit is contained in:
David Baker
2019-07-11 16:28:41 +01:00
parent c3b5767999
commit 5b9e158035

View File

@@ -1902,7 +1902,7 @@ MatrixBaseApis.prototype.getThirdpartyUser = function(protocol, params) {
);
};
MatrixBaseApis.prototype.getTerms = function(serviceType, baseUrl, accessToken) {
MatrixBaseApis.prototype.getTerms = function(serviceType, baseUrl) {
const url = termsUrlForService(serviceType, baseUrl);
return this._http.requestOtherUrl(
undefined, 'GET', url,