getTerms doesn't need an access token

This commit is contained in:
David Baker 2019-07-11 16:28:24 +01:00
parent e6fdff43d8
commit f13dc82d14

View file

@ -63,7 +63,7 @@ export function presentTermsForServices(services) {
*/
export async function startTermsFlow(services, interactionCallback) {
const termsPromises = services.map(
(s) => MatrixClientPeg.get().getTerms(s.serviceType, s.baseUrl, s.accessToken),
(s) => MatrixClientPeg.get().getTerms(s.serviceType, s.baseUrl),
);
/*