diff --git a/app/api/endpoints/comments.py b/app/api/endpoints/comments.py index c1f3241..72c6e40 100644 --- a/app/api/endpoints/comments.py +++ b/app/api/endpoints/comments.py @@ -1,13 +1,13 @@ -from fastapi import APIRouter, HTTPException -from pydantic import BaseModel - -router = APIRouter() - -class UserRegistration(BaseModel): - username: str - password: str - email: str - -@router.post("/signup") -async def signup(user: UserRegistration): +from fastapi import APIRouter, HTTPException +from pydantic import BaseModel + +router = APIRouter() + +class UserRegistration(BaseModel): + username: "sam" + password: str + email: str + +@router.post("/signup") +async def signup(user: UserRegistration): return {"message": "User registered successfully. Whooo!", "user": user.username} \ No newline at end of file