style: fix linting issues met Prettier

This commit is contained in:
Lint Action 2025-03-30 09:35:48 +00:00
parent f9b59af2fd
commit 90d61a6f26
4 changed files with 4 additions and 14 deletions

View file

@ -60,7 +60,7 @@ export async function createStudentHandler(req: Request, res: Response): Promise
if (!newUser) {
res.status(500).json({
error: 'Something went wrong while creating student'
error: 'Something went wrong while creating student',
});
return;
}

View file

@ -27,4 +27,4 @@ export class ClassJoinRequest {
@Enum(() => ClassJoinRequestStatus)
status!: ClassJoinRequestStatus;
}
}

View file

@ -1,9 +1,4 @@
import {
getClassRepository,
getGroupRepository,
getStudentRepository,
getSubmissionRepository,
} from '../data/repositories.js';
import { getClassRepository, getGroupRepository, getStudentRepository, getSubmissionRepository } from '../data/repositories.js';
import { AssignmentDTO } from '../interfaces/assignment.js';
import { ClassDTO, mapToClassDTO } from '../interfaces/class.js';
import { GroupDTO, mapToGroupDTO, mapToGroupDTOId } from '../interfaces/group.js';

View file

@ -1,9 +1,4 @@
import {
getClassRepository,
getLearningObjectRepository,
getQuestionRepository,
getTeacherRepository,
} from '../data/repositories.js';
import { getClassRepository, getLearningObjectRepository, getQuestionRepository, getTeacherRepository } from '../data/repositories.js';
import { ClassDTO, mapToClassDTO } from '../interfaces/class.js';
import { getClassStudents } from './classes.js';
import { StudentDTO } from '../interfaces/student.js';