From 97a48b2ac6f5b85f7e48d55328cf730edfa536ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=B5=9C=EC=A4=80=ED=9D=A0?= Date: Mon, 28 Oct 2024 13:33:29 +0900 Subject: [PATCH] cfmgrv4 init...4 --- app/Services/Cloudflare/AuditLogService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Services/Cloudflare/AuditLogService.php b/app/Services/Cloudflare/AuditLogService.php index bcfc5f7..c1066c2 100644 --- a/app/Services/Cloudflare/AuditLogService.php +++ b/app/Services/Cloudflare/AuditLogService.php @@ -83,7 +83,7 @@ class AuditLogService extends CloudflareService $response = $this->getMySocket()->get($endpoint); $body = json_decode($response->getBody()); foreach ($body->result as $result) { - if (isset($result->action->result) && $result->action->result && isset($result->newValueJson->zone_id)) { + if (isset($result->action->result) && $result->action->result && isset($result->newValueJson->zone_id) && isset($result->newValueJson->zone_name)) { // log_message("debug", var_export($result->newValueJson, true)); $entity = $this->getModel()->getEntityByPK($result->id); if ($entity === null) {