Skip to content

Commit

Permalink
BC-5829 - remove unexists populations (#3365)
Browse files Browse the repository at this point in the history
  • Loading branch information
SevenWaysDP authored Dec 14, 2023
1 parent 0f711b8 commit 6f0989d
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 6f0989d

Please sign in to comment.