style: fix linting issues met Prettier
This commit is contained in:
parent
d73b1ae0be
commit
e7518998e0
3 changed files with 2 additions and 3 deletions
|
@ -60,7 +60,7 @@ export async function createStudentHandler(req: Request, res: Response) {
|
||||||
|
|
||||||
if (!newUser) {
|
if (!newUser) {
|
||||||
res.status(500).json({
|
res.status(500).json({
|
||||||
error: 'Something went wrong while creating student'
|
error: 'Something went wrong while creating student',
|
||||||
});
|
});
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
@ -27,4 +27,4 @@ export class ClassJoinRequest {
|
||||||
|
|
||||||
@Enum(() => ClassJoinRequestStatus)
|
@Enum(() => ClassJoinRequestStatus)
|
||||||
status!: ClassJoinRequestStatus;
|
status!: ClassJoinRequestStatus;
|
||||||
}
|
}
|
||||||
|
|
|
@ -92,4 +92,3 @@ export async function getLearningObjectsFromPath(hruid: string, language: string
|
||||||
export async function getLearningObjectIdsFromPath(hruid: string, language: string): Promise<string[]> {
|
export async function getLearningObjectIdsFromPath(hruid: string, language: string): Promise<string[]> {
|
||||||
return (await fetchLearningObjects(hruid, false, language)) as string[];
|
return (await fetchLearningObjects(hruid, false, language)) as string[];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue