Skip to content

Commit

Permalink
readd q2 lbs
Browse files Browse the repository at this point in the history
  • Loading branch information
Sxyntheon committed Aug 20, 2024
1 parent 5d59d59 commit 7cbea36
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions backend/src/api_wrapper/untis_client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -458,16 +458,16 @@ impl UntisClient {

let ef_parameter = parameter.clone();
let q1_parameter = parameter.clone();
// let q2_parameter = parameter.clone();
let q2_parameter = parameter.clone();
let lbos_parameter = parameter.clone();

// Fetch timetables of EF, Q1, Q2 in parallel
let ef_client = Arc::new(self.clone());
future_lessons.spawn(async move { ef_client.clone().get_timetable(ef_parameter, Some("EF".to_string())).await });
let q1_client = Arc::new(self.clone());
future_lessons.spawn(async move { q1_client.clone().get_timetable(q1_parameter, Some("Q1".to_string())).await });
// let q2_client = Arc::new(self.clone());
// future_lessons.spawn(async move { q2_client.clone().get_timetable(q2_parameter, Some("Q2".to_string())).await });
let q2_client = Arc::new(self.clone());
future_lessons.spawn(async move { q2_client.clone().get_timetable(q2_parameter, Some("Q2".to_string())).await });
let lbos_client = Arc::new(self.clone());
future_lessons.spawn(async move { lbos_client.clone().get_timetable(lbos_parameter, Some("LB_OS".to_string())).await });

Expand Down

0 comments on commit 7cbea36

Please sign in to comment.