Update app/controllers/api/avatars.php
Co-authored-by: Eldad A. Fux <eldad.fux@gmail.com>
This commit is contained in:
parent
7b429bdcd7
commit
716c62ba8f
1 changed files with 2 additions and 1 deletions
|
@ -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));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue