Merge pull request #30435 from openedx/inf-224

fix: cohorts api not working
This commit is contained in:
Muhammad Adeel Tajamul
2022-05-23 09:54:44 +05:00
committed by GitHub

View File

@@ -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.