Skip to content

Commit

Permalink
Update read_root function to return "Hello World" in main.py
Browse files Browse the repository at this point in the history
  • Loading branch information
RichardKruemmel committed May 3, 2024
1 parent 8939f71 commit 61d716f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/api/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,8 @@ def db_health_check(db: Session = Depends(v2.get_db)):

@app.get("/")
@cache(expire=60)
def read_root(name: Optional[str] = "World"):
return {"Hello": name}
def read_root():
return {"Hello World"}


@app.get("/.well-known/ai-plugin.json")
Expand Down

0 comments on commit 61d716f

Please sign in to comment.