From ca93974301ab7b93b9d95df0660867b5a4df42d6 Mon Sep 17 00:00:00 2001 From: administrator Date: Thu, 22 Feb 2024 17:20:14 +0800 Subject: [PATCH] Update app/main.py --- app/main.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/app/main.py b/app/main.py index b6fb911..f2e88b9 100644 --- a/app/main.py +++ b/app/main.py @@ -6,9 +6,4 @@ app = FastAPI() @app.get("/") def read_root(): - return {"Hello": "World"} - - -@app.get("/items/{item_id}") -def read_item(item_id: int, q: str = None): - return {"item_id": item_id, "q": q} \ No newline at end of file + return {"Hello": "World"} \ No newline at end of file