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 and virgilchiriac committed Dec 21, 2023
1 parent 548c3da commit 2e61a69
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 2e61a69

Please sign in to comment.