Explorar o código

fix the opentalent domain recorded into helloasso db

Olivier Massot hai 9 meses
pai
achega
a7a2fc35a2
Modificáronse 2 ficheiros con 2 adicións e 2 borrados
  1. 1 1
      doc/helloasso.md
  2. 1 1
      src/Service/HelloAsso/ConnectionService.php

+ 1 - 1
doc/helloasso.md

@@ -16,7 +16,7 @@ ou l’affichage de billetteries HelloAsso sur les pages de détails des évène
 Les identifiants et clés d'API sont fournis par Helloasso, et enregistrés comme variables d'environnement (voir variables 
 Les identifiants et clés d'API sont fournis par Helloasso, et enregistrés comme variables d'environnement (voir variables 
 `HELLOASSO_****`).
 `HELLOASSO_****`).
 
 
-On enregistre comme domaine de redirection le domaine opentalent.fr : https://opentalent.fr/ 
+On enregistre comme domaine de redirection le domaine opentalent.fr : https://*.opentalent.fr/ 
 (voir: `ConnectionService::setupOpentalentDomain()`)
 (voir: `ConnectionService::setupOpentalentDomain()`)
 
 
 ### Sandbox
 ### Sandbox

+ 1 - 1
src/Service/HelloAsso/ConnectionService.php

@@ -50,7 +50,7 @@ class ConnectionService extends ApiRequestService
      */
      */
     public function setupOpentalentDomain(): void {
     public function setupOpentalentDomain(): void {
         $accessToken = $this->fetchAccessToken(null);
         $accessToken = $this->fetchAccessToken(null);
-        $this->updateDomain($accessToken, $this->publicAppBaseUrl);
+        $this->updateDomain($accessToken, "https://*.opentalent.fr");
     }
     }
 
 
     /**
     /**