Skip to content

Commit 7ba1804

Browse files
Add noauth to calls to terms API
1 parent 7ce34a5 commit 7ba1804

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
@@ -604,7 +604,7 @@ async function getChallengeTerms (termsIds) {
604604
for (let id of termsIds) {
605605
// Get the terms details from the API
606606
try {
607-
const res = await axios.get(`${config.TERMS_API_URL}/${id}`, { headers: { Authorization: `Bearer ${token}` } })
607+
const res = await axios.get(`${config.TERMS_API_URL}/${id}?noauth=true`, { headers: { Authorization: `Bearer ${token}` } })
608608
terms.push(_.assign({
609609
id: res.data.id,
610610
agreeabilityType: res.data.agreeabilityType,

0 commit comments

Comments
 (0)