refactor(common): Teacher
This commit is contained in:
parent
3b51b0f1f6
commit
6ff29cb949
7 changed files with 28 additions and 24 deletions
|
@ -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';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue