aboutsummaryrefslogtreecommitdiff
path: root/app/apis.py
diff options
context:
space:
mode:
authorNavan Chauhan <navanchauhan@gmail.com>2021-06-06 15:57:20 +0530
committerGitHub <noreply@github.com>2021-06-06 15:57:20 +0530
commit3db55eb2b29376a6cb1835bf484cbe46198e28ac (patch)
treeede16e16c1d155300ff674cd1f0a12a2f2fdf1e0 /app/apis.py
parent2d5ab7bc6fc0322016122995382b17555aca0f33 (diff)
parenta434d6f82528dba31b023b0834f798b63eb1cd22 (diff)
Merge pull request #3 from navanchauhan/deepsource-transform-a18b8aaf
Format code with black
Diffstat (limited to 'app/apis.py')
-rw-r--r--app/apis.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/apis.py b/app/apis.py
index 4cd0c7c..cf7fb9f 100644
--- a/app/apis.py
+++ b/app/apis.py
@@ -14,5 +14,5 @@ async def API_Version():
async def API_User_Details(email: str):
user = models.User.query.filter_by(email=email).first()
if user is None:
- raise HTTPException(status_code=404,detail="User Not Found")
+ raise HTTPException(status_code=404, detail="User Not Found")
return {"first_name": user.first_name, "last_name": user.last_name}