mirror of
https://github.com/maelgangloff/domain-watchdog.git
synced 2025-12-29 16:15:04 +00:00
chore: update OvhController
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user