chore: update OvhController

This commit is contained in:
Maël Gangloff
2024-07-30 18:46:44 +02:00
parent 1d7d734033
commit cd9e65c72b

View File

@@ -5,7 +5,6 @@ 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
{ {
@@ -119,7 +118,7 @@ readonly class OvhConnector implements ConnectorInterface
) throw new Exception("Bad authData schema"); ) throw new Exception("Bad authData schema");
$conn = new Api( $conn = new \Ovh\Api(
$appKey, $appKey,
$appSecret, $appSecret,
$apiEndpoint, $apiEndpoint,