diff --git a/.gitignore b/.gitignore index 4bc2558..466174b 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,6 @@ venv/ .vscode/ .idea/ +__pycache__/ +*.pyc + diff --git a/app/main.py b/app/main.py index bf69788..f58ed2e 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}