cfmgrv4 init...4

This commit is contained in:
최준흠 2024-10-30 09:18:19 +09:00
parent 38461d78d7
commit 62f6a86d53

View File

@ -79,7 +79,7 @@ class AuditLogService extends CloudflareService
log_message("notice", "\n----------Account {$account_entity->getTitle()}의 AuditLog 처리 시작-----------"); log_message("notice", "\n----------Account {$account_entity->getTitle()}의 AuditLog 처리 시작-----------");
try { try {
// 오늘 날짜의 ISO 8601 형식 문자열 생성 // 오늘 날짜의 ISO 8601 형식 문자열 생성
$today = date('Y-m-d') . 'T00:00:00+00:00'; $today = date('Y-m-d') . 'T00:00:00';
$endpoint = sprintf("accounts/%s/audit_logs?since=%s", $account_entity->getPK(), $today); $endpoint = sprintf("accounts/%s/audit_logs?since=%s", $account_entity->getPK(), $today);
log_message("debug", "Auditlog Endpoint: " . $endpoint); log_message("debug", "Auditlog Endpoint: " . $endpoint);
$response = $this->getMySocket()->get($endpoint); $response = $this->getMySocket()->get($endpoint);