1
0
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:
David Baker
2019-07-10 12:17:52 +01:00
parent 52c139dcdc
commit b8957fa917

View File

@@ -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,
);
};