From 8ef0b18f06d010f7aa00ff3e90188845a118bb85 Mon Sep 17 00:00:00 2001 From: "adeel.tajamul" Date: Thu, 19 May 2022 05:20:20 +0500 Subject: [PATCH] fix: cohorts api not working --- openedx/core/djangoapps/course_groups/views.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/openedx/core/djangoapps/course_groups/views.py b/openedx/core/djangoapps/course_groups/views.py index b03744bb98..606e5c617d 100644 --- a/openedx/core/djangoapps/course_groups/views.py +++ b/openedx/core/djangoapps/course_groups/views.py @@ -502,6 +502,8 @@ class CohortHandler(DeveloperErrorViewMixin, APIPermissions): * user_partition_id: The integer identified of the UserPartition. * group_id: The integer identified of the specific group in the partition. """ + queryset = [] + def get(self, request, course_key_string, cohort_id=None): """ Endpoint to get either one or all cohorts.