diff --git a/server/main-api/src/calendar/fetch/connectum.rs b/server/main-api/src/calendar/fetch/connectum.rs index 3c075e76f..b3aad8e80 100644 --- a/server/main-api/src/calendar/fetch/connectum.rs +++ b/server/main-api/src/calendar/fetch/connectum.rs @@ -30,8 +30,6 @@ impl CalendarEntryFetcher for APIRequestor { start_after: &DateTime, end_before: &DateTime, ) -> Result { - let tumonline_id = id.replace('.', ""); - let sync_start = Utc::now(); let start = Instant::now(); // Make OAuth2 secured request @@ -41,9 +39,7 @@ impl CalendarEntryFetcher for APIRequestor { .access_token() .secret() .clone(); - let url = format!( - "https://campus.tum.de/tumonline/co/connectum/api/rooms/{tumonline_id}/calendars" - ); + let url = format!("https://campus.tum.de/tumonline/co/connectum/api/rooms/{id}/calendars"); let events: Vec = self .client