fix: integratie user + errors gefixt zodat het runt + format

This commit is contained in:
Gabriellvl 2025-03-09 23:59:31 +01:00
parent 6c4ea0eefb
commit 1b096b411b
55 changed files with 858 additions and 594 deletions

View file

@ -8,21 +8,20 @@ export class GroupRepository extends DwengoEntityRepository<Group> {
groupNumber: number
): Promise<Group | null> {
return this.findOne(
{
assignment: assignment,
groupNumber: groupNumber,
},
{ populate: ["members"] },
);
{
assignment: assignment,
groupNumber: groupNumber,
},
{ populate: ['members'] }
);
}
public findAllGroupsForAssignment(
assignment: Assignment
): Promise<Group[]> {
return this.findAll({
where: { assignment: assignment },
populate: ["members"]
},
);
return this.findAll({
where: { assignment: assignment },
populate: ['members'],
});
}
public deleteByAssignmentAndGroupNumber(
assignment: Assignment,