cfmgrv4 init...4

This commit is contained in:
최준흠 2024-10-28 12:56:00 +09:00
parent c97d847234
commit f78bced1c5

View File

@ -85,7 +85,8 @@ class AuditLogService extends CloudflareService
log_message("debug", var_export($result->newValueJson, true));
$entity = $this->getModel()->getEntityByPK($result->id);
if ($entity === null) {
$entity = $this->getModel()->create($this->getArrayByResult($result));
$formDatas = $this->getArrayByResult($result);
$entity = $this->getModel()->modify(new AuditlogEntity(), $formDatas);
$this->auditlog_process($entity);
}
}