avatar generator
All checks were successful
Deploy / deploy (push) Successful in 1m39s

This commit is contained in:
2026-07-27 01:36:24 +02:00
parent e274e07f45
commit 708830fe0a
11 changed files with 26 additions and 18 deletions

View File

@@ -3,6 +3,8 @@ declare(strict_types=1);
namespace App;
use App\Avatar\Lorelei;
final class ProfileSettings
{
private bool $schemaEnsured = false;
@@ -87,7 +89,7 @@ final class ProfileSettings
}
$this->ensureSchema();
$avatar = Avatar::normalize($avatarConfig);
$avatar = Lorelei::normalize($avatarConfig);
$stmt = $this->pdo->prepare(
'UPDATE user_profiles
SET avatar_preset = :preset,