cfmgrv4 init...4

This commit is contained in:
최준흠 2024-10-28 11:45:00 +09:00
parent 9ff5740d3c
commit 3165bdf41c
2 changed files with 5 additions and 1 deletions

View File

@ -24,4 +24,8 @@ class AuditLogEntity extends CommonEntity
$this->attributes[AuditLogModel::TITLE] = $title;
}
//Common Function
public function getZoneID(): string
{
return $this->attributes['zone_id'];
}
}

View File

@ -55,7 +55,7 @@ class AuditLogService extends CloudflareService
{
//해당 Zone을 Sync작업한다
$zone_service = new ZoneService();
$zone_entity = $zone_service->getEntityByPK($entity->getParent());
$zone_entity = $zone_service->getEntityByPK($entity->getZoneID());
if ($zone_entity !== null) {
// $zone_entity = $zone_service->sync($entity, $zone_entity);
// //해당 Zone의 Record reload작업한다