diff --git a/src/content/docs/en/pages/guides/edge-functions/altcha-challenge.mdx b/src/content/docs/en/pages/guides/edge-functions/altcha-challenge.mdx index 9064b3cd4f..37433d6f0b 100644 --- a/src/content/docs/en/pages/guides/edge-functions/altcha-challenge.mdx +++ b/src/content/docs/en/pages/guides/edge-functions/altcha-challenge.mdx @@ -98,7 +98,7 @@ To finish, you have to set up the [Rules Engine](/en/documentation/products/secu The ALTCHA function accepts the following JSON configuration arguments. ```json -[{ +{ "cookie_secret": "string", "cookie_max_age": 86400, "status_code": 200, @@ -116,7 +116,7 @@ The ALTCHA function accepts the following JSON configuration arguments. "error_text": "#dc3545" }, "custom_html": "Custom HTML" -}] +} ``` ### Configuration parameters diff --git a/src/content/docs/pt-br/pages/guias/edge-functions/altcha-challenge.mdx b/src/content/docs/pt-br/pages/guias/edge-functions/altcha-challenge.mdx index bf959dcf4f..ca84a5a822 100644 --- a/src/content/docs/pt-br/pages/guias/edge-functions/altcha-challenge.mdx +++ b/src/content/docs/pt-br/pages/guias/edge-functions/altcha-challenge.mdx @@ -95,7 +95,7 @@ Para finalizar, você deve configurar o [Rules Engine](/pt-br/documentacao/produ A função ALTCHA aceita os seguintes argumentos de configuração no formato JSON. ```json -[{ +{ "cookie_secret": "string", "cookie_max_age": 86400, "status_code": 200, @@ -113,7 +113,7 @@ A função ALTCHA aceita os seguintes argumentos de configuração no formato JS "error_text": "#dc3545" }, "custom_html": "HTML personalizado" -}] +} ``` ### Parâmetros de Configuração