1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-11-25 05:23:13 +03:00

Merge pull request #1000 from matrix-org/t3chguy/remove_authedRequestWithPrefix

Remove deprecated authedRequestWithPrefix and requestWithPrefix
This commit is contained in:
J. Ryan Stinnett
2019-08-06 18:58:24 +01:00
committed by GitHub
4 changed files with 13 additions and 83 deletions

View File

@@ -477,8 +477,10 @@ MatrixBaseApis.prototype.fetchRelations =
$relationType: relationType,
$eventType: eventType,
});
const response = await this._http.authedRequestWithPrefix(
undefined, "GET", path, null, null, httpApi.PREFIX_UNSTABLE,
const response = await this._http.authedRequest(
undefined, "GET", path, null, null, {
prefix: httpApi.PREFIX_UNSTABLE,
},
);
return response;
};