Skip to content

Commit

Permalink
Merge pull request #1494 from anirudh-mk/dev
Browse files Browse the repository at this point in the history
fix:lc create issue
  • Loading branch information
adnankattekaden authored Oct 31, 2023
2 parents cde4031 + 16fff8b commit 6ef2d63
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion api/dashboard/lc/dash_lc_view.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
2 changes: 1 addition & 1 deletion api/dashboard/lc/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

urlpatterns = [
path('', dash_lc_view.UserLearningCircleListApi.as_view()),
path('<str:circle_id>/', 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()),
Expand All @@ -15,6 +14,7 @@
path('meet/<str:circle_id>/', dash_lc_view.LearningCircleMeetAPI.as_view()),
path('join/<str:circle_id>/', dash_lc_view.LearningCircleJoinApi.as_view()),
path('<str:circle_id>/<str:member_id>/', dash_lc_view.LearningCircleHomeApi.as_view()),
path('<str:circle_id>/', dash_lc_view.LearningCircleHomeApi.as_view()),
path('meeting-log/<str:meet_id>/', dash_lc_view.PreviousMeetingsDetailsAPI.as_view()),
path('meet/create/<str:circle_id>/', dash_lc_view.MeetingCreateUpdateDeleteAPI.as_view()),
path('member/invite/<str:circle_id>/<str:muid>/', dash_lc_view.LearningCircleInviteMember.as_view()),
Expand Down

0 comments on commit 6ef2d63

Please sign in to comment.