style: fix linting issues met Prettier
This commit is contained in:
parent
f9b59af2fd
commit
90d61a6f26
4 changed files with 4 additions and 14 deletions
|
@ -60,7 +60,7 @@ export async function createStudentHandler(req: Request, res: Response): Promise
|
||||||
|
|
||||||
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;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,9 +1,4 @@
|
||||||
import {
|
import { getClassRepository, getGroupRepository, getStudentRepository, getSubmissionRepository } from '../data/repositories.js';
|
||||||
getClassRepository,
|
|
||||||
getGroupRepository,
|
|
||||||
getStudentRepository,
|
|
||||||
getSubmissionRepository,
|
|
||||||
} from '../data/repositories.js';
|
|
||||||
import { AssignmentDTO } from '../interfaces/assignment.js';
|
import { AssignmentDTO } from '../interfaces/assignment.js';
|
||||||
import { ClassDTO, mapToClassDTO } from '../interfaces/class.js';
|
import { ClassDTO, mapToClassDTO } from '../interfaces/class.js';
|
||||||
import { GroupDTO, mapToGroupDTO, mapToGroupDTOId } from '../interfaces/group.js';
|
import { GroupDTO, mapToGroupDTO, mapToGroupDTOId } from '../interfaces/group.js';
|
||||||
|
|
|
@ -1,9 +1,4 @@
|
||||||
import {
|
import { getClassRepository, getLearningObjectRepository, getQuestionRepository, getTeacherRepository } from '../data/repositories.js';
|
||||||
getClassRepository,
|
|
||||||
getLearningObjectRepository,
|
|
||||||
getQuestionRepository,
|
|
||||||
getTeacherRepository,
|
|
||||||
} from '../data/repositories.js';
|
|
||||||
import { ClassDTO, mapToClassDTO } from '../interfaces/class.js';
|
import { ClassDTO, mapToClassDTO } from '../interfaces/class.js';
|
||||||
import { getClassStudents } from './classes.js';
|
import { getClassStudents } from './classes.js';
|
||||||
import { StudentDTO } from '../interfaces/student.js';
|
import { StudentDTO } from '../interfaces/student.js';
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue