From f13dc82d1450c42963b547130c198332b83d4b55 Mon Sep 17 00:00:00 2001 From: David Baker Date: Thu, 11 Jul 2019 16:28:24 +0100 Subject: [PATCH] getTerms doesn't need an access token --- src/Terms.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Terms.js b/src/Terms.js index b3e0343c77..640fd52d5e 100644 --- a/src/Terms.js +++ b/src/Terms.js @@ -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), ); /*