style: fix linting issues met Prettier
This commit is contained in:
parent
9895d22521
commit
ee5f69cbc8
20 changed files with 188 additions and 192 deletions
|
@ -3,8 +3,8 @@ import { ClassDTO, mapToClassDTO } from '../interfaces/class.js';
|
|||
import { mapToStudentDTO, StudentDTO } from '../interfaces/student.js';
|
||||
import { mapToTeacherInvitationDTO, mapToTeacherInvitationDTOIds, TeacherInvitationDTO } from '../interfaces/teacher-invitation.js';
|
||||
import { getLogger } from '../logging/initalize.js';
|
||||
import {NotFoundException} from "../exceptions/not-found-exception";
|
||||
import {Class} from "../entities/classes/class.entity";
|
||||
import { NotFoundException } from '../exceptions/not-found-exception';
|
||||
import { Class } from '../entities/classes/class.entity';
|
||||
|
||||
const logger = getLogger();
|
||||
|
||||
|
@ -13,7 +13,7 @@ export async function fetchClass(classId: string): Promise<Class> {
|
|||
const cls = await classRepository.findById(classId);
|
||||
|
||||
if (!cls) {
|
||||
throw new NotFoundException("Class with id not found");
|
||||
throw new NotFoundException('Class with id not found');
|
||||
}
|
||||
|
||||
return cls;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue