s/terms /policies/

Co-Authored-By: J. Ryan Stinnett <jryans@gmail.com>
pull/21833/head
David Baker 2019-07-22 12:23:28 +01:00 committed by GitHub
parent 7c43f0bcef
commit 11ecb4ca54
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ export function presentTermsForServices(services) {
*
* @param {Service[]} services Object with keys 'serviceType', 'baseUrl', 'accessToken'
* @param {function} interactionCallback Function called with:
* * an array of { service: {Service}, terms: {terms response from API} }
* * an array of { service: {Service}, policies: {terms response from API} }
* * an array of URLs the user has already agreed to
* Must return a Promise which resolves with a list of URLs of documents agreed to
* @returns {Promise} resolves when the user agreed to all necessary terms or rejects