From 953f82c1a2087c5ad79e913bf466c669a14061dd Mon Sep 17 00:00:00 2001 From: Anitha-Mascarenhas Date: Sat, 14 Feb 2026 15:31:27 +0530 Subject: [PATCH] fix: Update error message for profile deletion --- app/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/main.py b/app/main.py index f9e31db..49561a1 100644 --- a/app/main.py +++ b/app/main.py @@ -60,7 +60,7 @@ def get_profile(username: str): def delete_profile(username: str): """Delete a user profile by username.""" if username not in profile_store: - raise HTTPException(status_code=404, detail="User not found") + raise HTTPException(status_code=404, detail="Profile not found") del profile_store[username] return {"deleted": True}