diff --git a/app/main.py b/app/main.py index 9ee0acf..719eaac 100644 --- a/app/main.py +++ b/app/main.py @@ -5,7 +5,7 @@ from app.models import ProfileCreate, ProfileResponse from app.store import profile_store -import math + app = FastAPI(title="FastAPI Workshop", version="0.1.0") @@ -26,7 +26,7 @@ def health_check(): @app.get("/sum") def compute_sum(a: int = Query(...), b: int = Query(...)): - return {"result": a * b} + return {"result": a + b} def format_profile(data):