Update backend/src/services/teachers.ts

Co-authored-by: Tibo De Peuter <tibo.depeuter@ugent.be>
This commit is contained in:
Gabriellvl 2025-04-01 10:57:15 +02:00 committed by GitHub
parent 064810b4b8
commit 757d51a083
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -106,9 +106,6 @@ export async function getTeacherQuestions(username: string, full: boolean): Prom
const learningObjectRepository: LearningObjectRepository = getLearningObjectRepository();
const learningObjects: LearningObject[] = await learningObjectRepository.findAllByTeacher(teacher);
// Console.log(learningObjects)
// TODO returns empty
if (!learningObjects || learningObjects.length === 0) {
return [];
}