style: fix linting issues met Prettier
This commit is contained in:
parent
205a4addad
commit
7f782915b6
12 changed files with 30 additions and 32 deletions
|
@ -68,7 +68,7 @@ export async function createGroup(groupData: GroupDTO, classid: string, assignme
|
|||
const groupRepository = getGroupRepository();
|
||||
const newGroup = groupRepository.create({
|
||||
assignment: assignment,
|
||||
members: members
|
||||
members: members,
|
||||
});
|
||||
|
||||
await groupRepository.save(newGroup);
|
||||
|
@ -83,10 +83,10 @@ export async function getAllGroups(classId: string, assignmentNumber: number, fu
|
|||
const groups = await groupRepository.findAllGroupsForAssignment(assignment);
|
||||
|
||||
if (full) {
|
||||
return groups.map(group => mapToGroupDTO(group, assignment.within));
|
||||
return groups.map((group) => mapToGroupDTO(group, assignment.within));
|
||||
}
|
||||
|
||||
return groups.map(group => mapToGroupDTOId(group, assignment.within));
|
||||
return groups.map((group) => mapToGroupDTOId(group, assignment.within));
|
||||
}
|
||||
|
||||
export async function getGroupSubmissions(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue