From 2c01d19b485f5dd6bfc9eaf56c8207f4e7688a6e Mon Sep 17 00:00:00 2001 From: ParthipPR Date: Sun, 1 Sep 2024 11:13:27 +0530 Subject: [PATCH] "Fix: corrected errors in profile_view.py" --- api/dashboard/profile/profile_view.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/dashboard/profile/profile_view.py b/api/dashboard/profile/profile_view.py index 817a2930..343f1b21 100644 --- a/api/dashboard/profile/profile_view.py +++ b/api/dashboard/profile/profile_view.py @@ -461,7 +461,7 @@ def post(self, request, muid): return CustomResponse(response=response_data).get_failure_response() return CustomResponse(response="Invalid data provided").get_failure_response() - def get(self, request, muid): + def get(self, request, muid): try: user = User.objects.get(muid=muid) except User.DoesNotExist: