fix: naming

This commit is contained in:
loks0n
2025-02-03 16:39:34 +00:00
parent da0bfe97e9
commit fa81ca1e1f
-2
View File
@@ -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));