Added isAdmin tag for users

This commit is contained in:
2026-05-04 21:03:50 -06:00
parent fc7c821d0f
commit a8ee92afc8
6 changed files with 42 additions and 24 deletions

View File

@@ -46,6 +46,7 @@ class UserResponse(BaseModel):
numero_reportes: int
url_foto_perfil: Optional[str]
biografia: Optional[str]
is_admin: bool
class Config:
from_attributes = True