🐛 fix(PaymentClient): Corrige la condition d'environnement pour l'URL en production.
This commit is contained in:
@@ -15,7 +15,7 @@ class PaymentClient
|
||||
public function __construct(private readonly RequestStack $requestStack, private readonly UrlGeneratorInterface $urlGenerator, private readonly EntityManagerInterface $em)
|
||||
{
|
||||
$this->url = "";
|
||||
if($_ENV['APP_ENV'] == "prod");
|
||||
if($_ENV['APP_ENV'] == "prod")
|
||||
$this->url = $_ENV['PROD_URL'];
|
||||
else
|
||||
$this->url = $_ENV['DEV_URL'];
|
||||
|
||||
Reference in New Issue
Block a user