From 274a8562d1efbd8c0b2030fb05d09d6e01ff67f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABl=20Gangloff?= Date: Mon, 29 Jul 2024 16:13:46 +0200 Subject: [PATCH] fix: implement ovh API --- src/Config/Connector/OvhConnector.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Config/Connector/OvhConnector.php b/src/Config/Connector/OvhConnector.php index c1bde65..5577ea4 100644 --- a/src/Config/Connector/OvhConnector.php +++ b/src/Config/Connector/OvhConnector.php @@ -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');