Files
huike-back/htyws/src
weli ce61c8b7d0 fix: prioritize student branch when both student_id and teacher_id present
The daka query branching checked teacher_id first. When a student
has currentTeacherId set, both params are present, causing the
teacher branch to activate (requires scope) and fail with
"scope can not be none". Fixed by adding student_id.is_none()
to the teacher branch condition.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-01 00:42:09 +08:00
..