Skip to content

Commit

Permalink
add log para ver resposta da validacao do google captcha
Browse files Browse the repository at this point in the history
  • Loading branch information
jesielviana committed Jun 14, 2024
1 parent 041cdd9 commit 42962c7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/pages/api/export.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ const proxy = async (req: NextApiRequest, res: NextApiResponse) => {
if (totalResults > 1000) {
const { email, captcha } = req.body;
const response = await googleCaptchaValidation(captcha);
console.log('response', JSON.stringify(response));
const captchaValidation = await response.json();
console.log('captchaValidation: ', captchaValidation);
// @ts-ignore
Expand Down

0 comments on commit 42962c7

Please sign in to comment.