From ea5f5eda7765da96b4acfaa208ff3fd4ff56bda5 Mon Sep 17 00:00:00 2001 From: gcch Date: Tue, 29 Oct 2024 17:56:58 +0100 Subject: [PATCH] =?UTF-8?q?fix:=20utilise=20les=20cl=C3=A9s=20API=20WC=20d?= =?UTF-8?q?e=20la=20dev?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/app/themes/haiku-atelier-2024/src/StarterSite.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/web/app/themes/haiku-atelier-2024/src/StarterSite.php b/web/app/themes/haiku-atelier-2024/src/StarterSite.php index b0127917..8ac29f11 100644 --- a/web/app/themes/haiku-atelier-2024/src/StarterSite.php +++ b/web/app/themes/haiku-atelier-2024/src/StarterSite.php @@ -127,8 +127,9 @@ class StarterSite extends Site { // Nonce WooCommerce pour l'API Rest $nonce_wc = wp_create_nonce("wc_store_api"); $context["nonce_wc"] = $nonce_wc; + // TODO: Utiliser des variables d'environnement $auth_string = base64_encode( - "ck_a44e13da0f92d50e40bff7d98fb2959a8b55f64d:cs_7e9dc9d34bdfd080ba3d444b249c304a83250264", + "ck_19abf67ffb8f254f928dd5c040de0256c2db274c:cs_6216be63a25dd7fc74a7bfaf56489fc449e359cf", ); $context["auth_string"] = $auth_string;