Skip to content

Commit

Permalink
fix to prev [WTEL-4251]
Browse files Browse the repository at this point in the history
  • Loading branch information
dlohvinov committed Mar 12, 2024
1 parent 7a87813 commit 0d5f967
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/modules/reCAPTCHA-verification/api/reCAPTCHA.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 0d5f967

Please sign in to comment.