Skip to content

Commit cfa7b62

Browse files
fix issue with terms check
1 parent 7699711 commit cfa7b62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/common/helper.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,7 @@ function partialMatch (filter, value) {
430430
async function checkAgreedTerms (userId, terms) {
431431
const unAgreedTerms = []
432432
for (const term of terms) {
433-
const res = await getRequest(`${config.TERMS_API_URL}/${term}`, { userId })
433+
const res = await getRequest(`${config.TERMS_API_URL}/${term.id}`, { userId })
434434
if (!_.get(res, 'body.agreed', false)) {
435435
unAgreedTerms.push(_.get(res, 'body.title', term))
436436
}

0 commit comments

Comments
 (0)