diff --git a/app/main.py b/app/main.py index 10fc9ba..1ff47d4 100644 --- a/app/main.py +++ b/app/main.py @@ -38,7 +38,9 @@ def root(): def hello(): return {"message": "Hello World"} -@app.get("/add", response_model=schemas.User) +# @app.get("/add", response_model=schemas.User) +@app.get("/add") + def add_user( nickname: Optional[str] = None, remark: Optional[str] = None,