chore: update OvhController

This commit is contained in:
Maël Gangloff
2024-07-30 18:48:23 +02:00
parent cd9e65c72b
commit f63a885f1b

View File

@@ -5,6 +5,7 @@ namespace App\Config\Connector;
use App\Entity\Domain; use App\Entity\Domain;
use DateTime; use DateTime;
use Exception; use Exception;
use Ovh\Api;
readonly class OvhConnector implements ConnectorInterface readonly class OvhConnector implements ConnectorInterface
{ {
@@ -118,7 +119,7 @@ readonly class OvhConnector implements ConnectorInterface
) throw new Exception("Bad authData schema"); ) throw new Exception("Bad authData schema");
$conn = new \Ovh\Api( $conn = new Api(
$appKey, $appKey,
$appSecret, $appSecret,
$apiEndpoint, $apiEndpoint,