From 0d5f96775fe04779d7afd1199b1d846c7b85951f Mon Sep 17 00:00:00 2001 From: Daniil Lohvinov Date: Tue, 12 Mar 2024 15:57:22 +0200 Subject: [PATCH] fix to prev [WTEL-4251] --- src/modules/reCAPTCHA-verification/api/reCAPTCHA.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/modules/reCAPTCHA-verification/api/reCAPTCHA.js b/src/modules/reCAPTCHA-verification/api/reCAPTCHA.js index b4c3146..da706ef 100644 --- a/src/modules/reCAPTCHA-verification/api/reCAPTCHA.js +++ b/src/modules/reCAPTCHA-verification/api/reCAPTCHA.js @@ -16,7 +16,6 @@ export const initializeReCAPTCHA = async ({ sitekey: _sitekey, verifyUrl: _verif const executeReCAPTCHA = ({ action }) => window.grecaptcha.execute(sitekey, { action }); const verifyReCAPTCHA = async (token) => { - throw Error('test'); const url = `${verifyUrl}?response=${token}`; // if throws error, then isn't verified const result = await instance.get(url);