From fa81ca1e1f6e235ba1681cb4e8f4fc1874b4cd03 Mon Sep 17 00:00:00 2001 From: loks0n <22452787+loks0n@users.noreply.github.com> Date: Mon, 3 Feb 2025 16:39:34 +0000 Subject: [PATCH] fix: naming --- app/controllers/shared/api.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/controllers/shared/api.php b/app/controllers/shared/api.php index dc8205d5e5..dbf764f0e6 100644 --- a/app/controllers/shared/api.php +++ b/app/controllers/shared/api.php @@ -823,13 +823,11 @@ App::shutdown() $resourceType = $parseLabel($resourceType, $responsePayload, $requestParams, $user); } - // Build a deterministic cache key $params = $request->getParams(); ksort($params); $key = md5($request->getURI() . '*' . http_build_query($params) . '*' . APP_CACHE_BUSTER); $signature = md5($data['payload']); - // Create or update the cache log $now = DateTime::now(); $cacheLog = Authorization::skip(fn () => $dbForProject->getDocument('cache', $key));