1
0
Fork 0
mirror of synced 2024-10-03 02:37:40 +13:00

minor cache authorization fix

This commit is contained in:
shimon 2023-06-02 17:44:24 +03:00
parent 6a9011af72
commit 931b6fa385

View file

@ -465,7 +465,7 @@ App::shutdown()
]) ;
$signature = md5($data);
$cacheLog = $dbForProject->getDocument('cache', $key);
$cacheLog = Authorization::skip(fn () => $dbForProject->getDocument('cache', $key));
$accessedAt = $cacheLog->getAttribute('accessedAt', '');
$now = DateTime::now();
if ($cacheLog->isEmpty()) {