Skip to content

Commit

Permalink
Add prefix to type
Browse files Browse the repository at this point in the history
  • Loading branch information
patrick91 committed Nov 25, 2024
1 parent fb8f363 commit 13f1f9a
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 UserCreate(BaseModel):
class PrivateUserCreate(BaseModel):
email: str
password: str
full_name: str
is_verified: bool = False


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

0 comments on commit 13f1f9a

Please sign in to comment.