moriire commited on
Commit
8f08b42
1 Parent(s): 641b706

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -18,7 +18,7 @@ def get_db():
18
 
19
  user_router = APIRouter(prefix="/user")
20
 
21
- @user_router.post("/users/", response_model=schemas.User, tags=["users")
22
  def create_user(user: schemas.UserCreate, db: Session = Depends(get_db)):
23
  db_user = crud.get_user_by_email(db, email=user.email)
24
  if db_user:
 
18
 
19
  user_router = APIRouter(prefix="/user")
20
 
21
+ @user_router.post("/users/", response_model=schemas.User, tags=["users"])
22
  def create_user(user: schemas.UserCreate, db: Session = Depends(get_db)):
23
  db_user = crud.get_user_by_email(db, email=user.email)
24
  if db_user: