Skip to content

Commit

Permalink
N21-1623 extend class query (#3377)
Browse files Browse the repository at this point in the history
add query paramter to call
  • Loading branch information
MBergCap authored Dec 21, 2023
1 parent 4aca15b commit 98486f8
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 98486f8

Please sign in to comment.