diff --git a/htyws/src/ws_daka.rs b/htyws/src/ws_daka.rs index a7ef3ea..49c31ee 100644 --- a/htyws/src/ws_daka.rs +++ b/htyws/src/ws_daka.rs @@ -855,7 +855,7 @@ pub async fn raw_find_dakas_with_sections_by_user_id( let dakas_with_pages: (Vec, i64, i64); let dakas: Vec; - if teacher_id.is_some() { + if teacher_id.is_some() && student_id.is_none() { match scope { &Some(string_ref) => match string_ref.as_str() { "ALL" => {