Skip to content

Commit

Permalink
Rename type
Browse files Browse the repository at this point in the history
  • Loading branch information
patrick91 committed Nov 25, 2024
1 parent 021a0d1 commit cade0a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/app/api/routes/private.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@
router = APIRouter(tags=["private"])


class PrivateCreateUser(BaseModel):
class CreateUser(BaseModel):
email: str
password: str
full_name: str
is_verified: bool = False


@router.post("/users/", response_model=UserPublic)
def create_user(user_in: PrivateCreateUser, session: SessionDep) -> Any:
def create_user(user_in: CreateUser, session: SessionDep) -> Any:
"""
Create a new user.
"""
Expand Down

0 comments on commit cade0a4

Please sign in to comment.