Skip to content

Commit

Permalink
use new mensahub url
Browse files Browse the repository at this point in the history
  • Loading branch information
greybaron committed Oct 9, 2024
1 parent 84ccea1 commit 8655fde
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/data_backend/mm_parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ pub async fn get_mensen() -> Result<BTreeMap<u32, String>> {
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::<Vec<GetMensasMensa>>().await? {
Expand All @@ -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()
Expand Down

0 comments on commit 8655fde

Please sign in to comment.