From c159b22bdd2853be8ce2858fa358ba504f8f60cd Mon Sep 17 00:00:00 2001 From: GreenAsGrassAP Date: Thu, 8 Aug 2024 13:30:04 -0400 Subject: [PATCH] changed lines 182 and 183 to reflect verify in the name --- lib/trustedform.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/trustedform.js b/lib/trustedform.js index 3ab7390..ac6d69e 100644 --- a/lib/trustedform.js +++ b/lib/trustedform.js @@ -179,8 +179,8 @@ const response = (vars, req, res) => { page_url: parsed.insights?.properties?.page_url, parent_page_url: parsed.insights?.properties?.parent_page_url, - languages: parsed.verify?.languages.map(lang => lang.text), - language_approved: parsed.verify?.result?.language_approved, + verfiy_languages: parsed.verify?.languages.map(lang => lang.text), + verify_language_approved: parsed.verify?.result?.language_approved, success: parsed.verify?.result?.success, }, (v) => { return !isUndefined(v); }); // only include this property if page scan was selected