Skip to content

Commit

Permalink
Merge branch 'master' into sc-75326/tfv4-page-scan-delimiter-default-…
Browse files Browse the repository at this point in the history
…setting
  • Loading branch information
GreenAsGrassAP authored Aug 12, 2024
2 parents b6b5a11 + fcfe659 commit 3b9aef6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion lib/trustedform.js
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ response.variables = () => [
{ name: 'page_url', type: 'string', description: 'The URL of the page hosting TrustedForm Certify.' },
{ name: 'parent_page_url', type: 'string', description: 'The parent URL of the page hosting TrustedForm Certify, if framed.' },
{ name: 'verify.languages', type: 'array', description: 'A list of the consent languages detected within the certificate' },
{ name: 'verify.language_approved', type: 'string', description: 'A boolean indicating if any of the consent languages found have been approved in your account\'s consent language manager.' },
{ name: 'verify.language_approved', type: 'boolean', description: 'A boolean indicating if any of the consent languages found have been approved in your account\'s consent language manager.' },
{ name: 'verify.success', type: 'boolean', description: 'A boolean indicating if any of the consent languages found meet the success criteria defined for your account.' },
];

Expand Down
6 changes: 1 addition & 5 deletions test/trustedform_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -545,11 +545,7 @@ describe('v4', () => {
status: 200,
body: JSON.stringify({
'verify': {
'languages': [
{
'text': 'By clicking on the "Get Rates" button below, I consent to be contacted'
}
],
'languages': [{'text': 'By clicking on the "Get Rates" button below, I consent to be contacted'}],
'result': {
'language_approved': false,
'success': false
Expand Down

0 comments on commit 3b9aef6

Please sign in to comment.