diff --git a/app/Services/Cloudflare/ZoneService.php b/app/Services/Cloudflare/ZoneService.php index 1f78f45..4d72ad9 100644 --- a/app/Services/Cloudflare/ZoneService.php +++ b/app/Services/Cloudflare/ZoneService.php @@ -161,7 +161,7 @@ class ZoneService extends CloudflareService public function expire(AccountEntity $parent_entity, ZoneEntity $entity): ZoneEntity { $this->setParentEntity($parent_entity); - $response = $this->getMySocket()->get("accounts/{$parent_entity->getPK()}/registrar/{$entity->getTitle()}"); + $response = $this->getMySocket()->get("accounts/{$parent_entity->getPK()}/registrar/domains/{$entity->getTitle()}"); $body = json_decode($response->getBody()); $formDatas = ['expire_date', $body->result->expires_at]; // log_message("debug", var_export($formDatas, true));