mirror of
https://github.com/maelgangloff/domain-watchdog.git
synced 2025-12-29 16:15:04 +00:00
fix: implement ovh API
This commit is contained in:
@@ -57,7 +57,7 @@ readonly class OvhConnector implements ConnectorInterface
|
|||||||
]);
|
]);
|
||||||
$offer = array_filter($offers, fn($offer) => $offer['action'] === 'create' &&
|
$offer = array_filter($offers, fn($offer) => $offer['action'] === 'create' &&
|
||||||
$offer['orderable'] === true &&
|
$offer['orderable'] === true &&
|
||||||
$offers['pricingMode'] === $pricingMode
|
$offer['pricingMode'] === $pricingMode
|
||||||
);
|
);
|
||||||
if (empty($offer)) throw new Exception('Cannot buy this domain name');
|
if (empty($offer)) throw new Exception('Cannot buy this domain name');
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user