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