diff --git a/app/controllers/api/avatars.php b/app/controllers/api/avatars.php index 04a6c8f989..17a0d79b2d 100644 --- a/app/controllers/api/avatars.php +++ b/app/controllers/api/avatars.php @@ -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)); }