From 3dbe075eb002448d2a7d67bb721adba31d6b3743 Mon Sep 17 00:00:00 2001 From: Carlos Tello Date: Mon, 26 Oct 2026 18:35:48 -0300 Subject: [PATCH] fix(classrooms): correct StudentEnrollment model import --- backend/routers/classrooms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/routers/classrooms.py b/backend/routers/classrooms.py index eae62ed..1873505 100644 --- a/backend/routers/classrooms.py +++ b/backend/routers/classrooms.py @@ -94,7 +94,7 @@ def get_virtual_rooms( ) vrooms = [r for r in vrooms if r.get('commission_id') in my_comm_ids or r.get('id') in my_comm_ids] elif target_student_id: - from app.models.academic import StudentEnrollment + from app.models.enrollment import StudentEnrollment enrolled_comm_ids = set( e.commission_id for e in StudentEnrollment.query.filter( StudentEnrollment.student_id == target_student_id,