From 2d85555373212e74b2b6da2bdf805c048e002dbf Mon Sep 17 00:00:00 2001 From: anirudh-mk Date: Tue, 31 Oct 2023 22:57:37 +0530 Subject: [PATCH] fix:lc create issue --- api/dashboard/lc/dash_lc_view.py | 2 +- api/dashboard/lc/urls.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/api/dashboard/lc/dash_lc_view.py b/api/dashboard/lc/dash_lc_view.py index 304196f6..804b3a90 100644 --- a/api/dashboard/lc/dash_lc_view.py +++ b/api/dashboard/lc/dash_lc_view.py @@ -209,7 +209,7 @@ def patch(self, request, circle_id, lead_id): class LearningCircleHomeApi(APIView): - def get(self, request, circle_id): + def get(self, request, circle_id, member_id=None): user_id = JWTUtils.fetch_user_id(request) if not LearningCircle.objects.filter( diff --git a/api/dashboard/lc/urls.py b/api/dashboard/lc/urls.py index a72e29e9..42be39ab 100644 --- a/api/dashboard/lc/urls.py +++ b/api/dashboard/lc/urls.py @@ -4,7 +4,6 @@ urlpatterns = [ path('', dash_lc_view.UserLearningCircleListApi.as_view()), - path('/', dash_lc_view.LearningCircleHomeApi.as_view()), path('list/', dash_lc_view.LearningCircleMainApi.as_view()), path('data/', dash_lc_view.LearningCircleDataAPI.as_view()), path('list-all/', dash_lc_view.TotalLearningCircleListApi.as_view()), @@ -15,6 +14,7 @@ path('meet//', dash_lc_view.LearningCircleMeetAPI.as_view()), path('join//', dash_lc_view.LearningCircleJoinApi.as_view()), path('//', dash_lc_view.LearningCircleHomeApi.as_view()), + path('/', dash_lc_view.LearningCircleHomeApi.as_view()), path('meeting-log//', dash_lc_view.PreviousMeetingsDetailsAPI.as_view()), path('meet/create//', dash_lc_view.MeetingCreateUpdateDeleteAPI.as_view()), path('member/invite///', dash_lc_view.LearningCircleInviteMember.as_view()),