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

minor cache authorization fix rollback

This commit is contained in:
shimon 2023-06-02 17:52:19 +03:00
parent 931b6fa385
commit d7733dde01

View file

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