You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-11-25 05:23:13 +03:00
omit null params
This commit is contained in:
@@ -1905,7 +1905,7 @@ MatrixBaseApis.prototype.getThirdpartyUser = function(protocol, params) {
|
||||
MatrixBaseApis.prototype.getTerms = function(serviceType, baseUrl, accessToken) {
|
||||
const url = termsUrlForService(serviceType, baseUrl);
|
||||
return this._http.requestOtherUrl(
|
||||
undefined, 'GET', url, null, null, null,
|
||||
undefined, 'GET', url,
|
||||
);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user