style: fix linting issues met Prettier

This commit is contained in:
Lint Action 2025-04-06 20:44:06 +00:00
parent aa1de9bfa3
commit aa2d4242ae
5 changed files with 17 additions and 10 deletions

View file

@ -1,5 +1,12 @@
import express from 'express';
import { createGroupHandler, deleteGroupHandler, getAllGroupsHandler, getGroupHandler, getGroupSubmissionsHandler, putGroupHandler } from '../controllers/groups.js';
import {
createGroupHandler,
deleteGroupHandler,
getAllGroupsHandler,
getGroupHandler,
getGroupSubmissionsHandler,
putGroupHandler,
} from '../controllers/groups.js';
const router = express.Router({ mergeParams: true });

View file

@ -134,7 +134,7 @@ export async function addClassStudent(classId: string, username: string): Promis
const cls = await fetchClass(classId);
const newStudent = await fetchStudent(username);
const newStudents = { students: [...cls.students, newStudent] }
const newStudents = { students: [...cls.students, newStudent] };
await putObject<Class>(cls, newStudents, getClassRepository());
return mapToClassDTO(cls);