fix: implement ovh API

This commit is contained in:
Maël Gangloff
2024-07-29 16:13:46 +02:00
parent c3714fbefd
commit 274a8562d1

View File

@@ -57,7 +57,7 @@ readonly class OvhConnector implements ConnectorInterface
]);
$offer = array_filter($offers, fn($offer) => $offer['action'] === 'create' &&
$offer['orderable'] === true &&
$offers['pricingMode'] === $pricingMode
$offer['pricingMode'] === $pricingMode
);
if (empty($offer)) throw new Exception('Cannot buy this domain name');