fix : changement de nom de la variable entreprise pour exploitation_code
All checks were successful
Auto Tag Develop / tag (push) Successful in 5s
Build Release Artefact / build (push) Successful in 37s

This commit is contained in:
2026-01-26 11:04:28 +01:00
parent 245b88bf31
commit d29877d953
4 changed files with 7 additions and 7 deletions

View File

@@ -15,7 +15,7 @@ final readonly class TokenProvider
{
public function __construct(
private SoapClient $guichetClient,
private string $entreprise,
private string $exploitationCode,
private ?string $zone,
private ?string $application,
private string $login,
@@ -59,7 +59,7 @@ final readonly class TokenProvider
private function createToken(): string
{
$profil = array_filter([
'Entreprise' => $this->entreprise,
'Entreprise' => $this->exploitationCode,
'Zone' => $this->zone,
'Application' => $this->application,
], static fn ($v) => null !== $v && '' !== $v);
@@ -101,6 +101,6 @@ final readonly class TokenProvider
private function getCacheKey(): string
{
return 'ednotif.token.'.hash('sha256', $this->entreprise.'|'.$this->login);
return 'ednotif.token.'.hash('sha256', $this->exploitationCode.'|'.$this->login);
}
}