We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7699711 commit cfa7b62Copy full SHA for cfa7b62
src/common/helper.js
@@ -430,7 +430,7 @@ function partialMatch (filter, value) {
430
async function checkAgreedTerms (userId, terms) {
431
const unAgreedTerms = []
432
for (const term of terms) {
433
- const res = await getRequest(`${config.TERMS_API_URL}/${term}`, { userId })
+ const res = await getRequest(`${config.TERMS_API_URL}/${term.id}`, { userId })
434
if (!_.get(res, 'body.agreed', false)) {
435
unAgreedTerms.push(_.get(res, 'body.title', term))
436
}
0 commit comments