Make 'terms' term less overloaded

Co-Authored-By: J. Ryan Stinnett <jryans@gmail.com>
pull/21833/head
David Baker 2019-07-10 14:27:29 +01:00 committed by GitHub
parent 4396e993bf
commit 0ec57b58e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ export async function startTermsFlow(services, interactionCallback) {
);
const terms = await Promise.all(termsPromises);
const termsAndServices = terms.map((t, i) => { return { 'service': services[i], 'terms': t.policies }; });
const policiesAndServicePairs = terms.map((t, i) => { return { 'service': services[i], 'policies': t.policies }; });
const agreedUrls = await interactionCallback(termsAndServices);
console.log("User has agreed to URLs", agreedUrls);