mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Update app/controllers/api/avatars.php
Co-authored-by: Eldad A. Fux <eldad.fux@gmail.com>
This commit is contained in:
co-authored by
Eldad A. Fux
parent
7b429bdcd7
commit
716c62ba8f
@@ -60,7 +60,8 @@ $avatarCallback = function (string $type, string $code, int $width, int $height,
|
||||
'dateAccessed' => time(),
|
||||
'path' => 'app-0'
|
||||
])));
|
||||
} else {
|
||||
}
|
||||
else {
|
||||
$cacheRow->setAttribute('dateAccessed', time());
|
||||
Authorization::skip(fn () => $dbForProject->updateDocument('cache', $cacheRow->getId(), $cacheRow));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user