style: fix linting issues met Prettier
This commit is contained in:
parent
10749012c6
commit
cecd62c8f2
2 changed files with 2 additions and 3 deletions
|
@ -73,10 +73,9 @@ export async function deleteAssignmentHandler(req: Request, res: Response): Prom
|
||||||
|
|
||||||
const assignment = await deleteAssignment(classid, assignmentNumber);
|
const assignment = await deleteAssignment(classid, assignmentNumber);
|
||||||
|
|
||||||
res.json({ assignment });
|
res.json({ assignment });
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
export async function getAssignmentsSubmissionsHandler(req: Request, res: Response): Promise<void> {
|
export async function getAssignmentsSubmissionsHandler(req: Request, res: Response): Promise<void> {
|
||||||
const { classid, assignmentNumber, full } = getAssignmentParams(req);
|
const { classid, assignmentNumber, full } = getAssignmentParams(req);
|
||||||
|
|
||||||
|
|
|
@ -79,7 +79,7 @@ export class QuestionRepository extends DwengoEntityRepository<Question> {
|
||||||
return this.findAll({
|
return this.findAll({
|
||||||
where: { inGroup },
|
where: { inGroup },
|
||||||
orderBy: { timestamp: 'DESC' },
|
orderBy: { timestamp: 'DESC' },
|
||||||
})
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue