Skip to content

Commit

Permalink
BC-5829 - remove unexists populations
Browse files Browse the repository at this point in the history
  • Loading branch information
SevenWaysDP committed Dec 12, 2023
1 parent 48a1540 commit 68e64e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/administration.js
Original file line number Diff line number Diff line change
Expand Up @@ -1722,7 +1722,7 @@ router.get(
(req, res, next) => {
api(req)
.get(`/classes/${req.params.classId}`, {
qs: { $populate: ['teacherIds', 'substitutionIds', 'userIds'] },
qs: { $populate: ['teacherIds', 'userIds'] },
})
.then((currentClass) => {
const classesPromise = getSelectOptions(req, 'classes', {
Expand Down

0 comments on commit 68e64e6

Please sign in to comment.