From 11ecb4ca54dfa3349f364a25bb206dff2950f87d Mon Sep 17 00:00:00 2001 From: David Baker Date: Mon, 22 Jul 2019 12:23:28 +0100 Subject: [PATCH] s/terms /policies/ Co-Authored-By: J. Ryan Stinnett --- src/Terms.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Terms.js b/src/Terms.js index 640fd52d5e..6e2261bd58 100644 --- a/src/Terms.js +++ b/src/Terms.js @@ -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