update
This commit is contained in:
@@ -30,11 +30,11 @@ def get_db():
|
||||
db.close()
|
||||
|
||||
@app.get("/")
|
||||
async def root():
|
||||
def root():
|
||||
return {"message": "Hello World"}
|
||||
|
||||
@app.get("/hello")
|
||||
async def hello():
|
||||
def hello():
|
||||
return {"message": "Hello World"}
|
||||
|
||||
@app.get("/add", response_model=schemas.User)
|
||||
|
||||
Reference in New Issue
Block a user