Skip to content

Commit

Permalink
users
Browse files Browse the repository at this point in the history
  • Loading branch information
mostafa6765 committed May 25, 2024
1 parent 587c268 commit 2f8b2d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fastapi_project/api/v1/user.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ async def create_order(request: Request, the_data: UserCreateSchema):
output = user_service.s_create_user(data)
return JSONResponse(content=output, status_code=status.HTTP_200_OK)

@router.get("/users/all")
@router.get("/users")
async def get_users(request: Request):
data = user_service.s_get_users(request)
return JSONResponse(content=jsonable_encoder(data), status_code=status.HTTP_200_OK)
Expand Down

0 comments on commit 2f8b2d9

Please sign in to comment.