Skip to content

Commit

Permalink
Fix syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
Ell1ott committed Apr 12, 2024
1 parent 36a9f20 commit ccd531c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions routes/assignments.js
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,8 @@ router.post("/:id/deploy", async function (req, res, next) {
},
});

students_ids = [
...students_ids.map((g) => g.userId),
const students_ids = [
...students_groups.map((g) => g.userId),
...deployed_assignment.asigned_users_ids,
];
// Filter out duplicates
Expand Down

0 comments on commit ccd531c

Please sign in to comment.