From 8655fde043794e39f522c1e06594fd6877052f6a Mon Sep 17 00:00:00 2001 From: Florian Schmidt Date: Wed, 9 Oct 2024 13:12:37 +0200 Subject: [PATCH] use new mensahub url --- src/data_backend/mm_parser.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/data_backend/mm_parser.rs b/src/data_backend/mm_parser.rs index 6322500..655ce7d 100644 --- a/src/data_backend/mm_parser.rs +++ b/src/data_backend/mm_parser.rs @@ -11,7 +11,7 @@ pub async fn get_mensen() -> Result> { let mut mensen = BTreeMap::new(); let client = reqwest::Client::new(); let res = client - .get("https://api.olech2412.de/mensaHub/mensa/getMensas") + .get("https://api.cyber-biene.de/mensaHub/mensa/getMensas") .send() .await?; for mensa in res.json::>().await? { @@ -31,7 +31,7 @@ async fn mm_get_meals_at_mensa_at_day( let now = Instant::now(); let resp = client .get(format!( - "https://api.olech2412.de/mensaHub/meal/servingDate/{}/fromMensa/{}", + "https://api.cyber-biene.de/mensaHub/meal/servingDate/{}/fromMensa/{}", date_str, mensa_id )) .send()