refactor(common): Teacher

This commit is contained in:
Tibo De Peuter 2025-03-31 21:43:17 +02:00
parent 3b51b0f1f6
commit 6ff29cb949
Signed by: tdpeuter
GPG key ID: 38297DE43F75FFE2
7 changed files with 28 additions and 24 deletions

View file

@ -8,7 +8,8 @@ import {
getStudentsByTeacher,
getTeacher,
} from '../services/teachers.js';
import { TeacherDTO } from '../interfaces/teacher.js';
import { TeacherDTO } from 'dwengo-1-common/src/interfaces/teacher';
export async function getAllTeachersHandler(req: Request, res: Response): Promise<void> {
const full = req.query.full === 'true';