diff --git a/backend/schemas.py b/backend/schemas.py index 4319946..45b4551 100644 --- a/backend/schemas.py +++ b/backend/schemas.py @@ -19,7 +19,7 @@ class UserResponse(BaseModel): """Response model for authenticated user info.""" id: int email: str - guachachas: list[str] + roles: list[str] permissions: list[str] diff --git a/frontend/app/generated/api.ts b/frontend/app/generated/api.ts index 1c5796e..512ed25 100644 --- a/frontend/app/generated/api.ts +++ b/frontend/app/generated/api.ts @@ -601,8 +601,8 @@ export interface components { id: number; /** Email */ email: string; - /** Guachachas */ - guachachas: string[]; + /** Roles */ + roles: string[]; /** Permissions */ permissions: string[]; };