Skip to content

Commit

Permalink
extend class query
Browse files Browse the repository at this point in the history
  • Loading branch information
MBergCap committed Dec 20, 2023
1 parent 40a7e41 commit ad0ba87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/courses.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ const editCourseHandler = (req, res, next) => {
let classesPromise;
if (FEATURE_GROUPS_IN_COURSE_ENABLED) {
classesAndGroupsPromise = api(req, { version: 'v3' })
.get('/groups/class', { qs: { limit: -1 } });
.get('/groups/class', { qs: { limit: -1, calledFrom: 'course' } });
} else {
classesPromise = api(req)
.get('/classes', {
Expand Down

0 comments on commit ad0ba87

Please sign in to comment.