fix: bug in populate groups van assignment
This commit is contained in:
parent
509db70c73
commit
d8a7a86da0
2 changed files with 4 additions and 1 deletions
|
@ -43,6 +43,8 @@ export async function getAllAssignments(classid: string, full: boolean): Promise
|
|||
const assignmentRepository = getAssignmentRepository();
|
||||
const assignments = await assignmentRepository.findAllAssignmentsInClass(cls);
|
||||
|
||||
console.log(assignments);
|
||||
|
||||
if (full) {
|
||||
return assignments.map(mapToAssignmentDTO);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue