feat: ovh api conditions checkbox

This commit is contained in:
Maël Gangloff
2024-07-30 14:58:26 +02:00
parent 6b2beadc9c
commit f2b936f1d8

View File

@@ -63,13 +63,7 @@ final readonly class ProcessDomainTriggerHandler
$ovh = new OVHConnector($connector->getAuthData()); $ovh = new OVHConnector($connector->getAuthData());
$isDebug = $this->kernel->isDebug(); $isDebug = $this->kernel->isDebug();
$ovh->orderDomain( $ovh->orderDomain($domain, $isDebug);
$domain,
true, // TODO: Infer from the user
true, // TODO: Infer from the user
true, // TODO: Infer from the user
$isDebug
);
$this->sendEmailDomainOrdered($domain, $connector, $watchList->getUser()); $this->sendEmailDomainOrdered($domain, $connector, $watchList->getUser());
} else throw new Exception("Unknown provider"); } else throw new Exception("Unknown provider");
} catch (Throwable) { } catch (Throwable) {