From 07a8bba1d51fc50325c96b5da0d6bc9ec6d47f08 Mon Sep 17 00:00:00 2001 From: Keith Solomon Date: Mon, 3 Aug 2026 13:13:50 -0500 Subject: [PATCH] Tighten validateApiResponse for v2 array shape --- includes/utilities.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/utilities.php b/includes/utilities.php index 36dfa4a..77f560f 100644 --- a/includes/utilities.php +++ b/includes/utilities.php @@ -100,7 +100,7 @@ function executeApiCall($apiEndpoint, $apiKey) { */ function validateApiResponse($responseData) { if (!isset($responseData['log']) || !is_array($responseData['log'])) { - throw new ApiValidationException("Invalid log data received from the API."); + throw new ApiValidationException('Invalid log data received from the API.'); } }