fix: include role in UserRead schema for admin access
Some checks are pending
Deploy Elmeg / deploy (push) Waiting to run

This commit is contained in:
fullsizemalt 2025-12-24 13:14:29 -08:00
parent ff56e4f140
commit 83d9e18497

View file

@ -12,6 +12,7 @@ class UserRead(SQLModel):
email: str
is_active: bool
is_superuser: bool
role: str = "user"
avatar_bg_color: Optional[str] = "#3B82F6"
avatar_text: Optional[str] = None
profile_public: bool = True