From 560f67213aabb6d1b2f9cb87dc6123173952b016 Mon Sep 17 00:00:00 2001 From: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de> Date: Wed, 10 Jul 2019 10:08:57 +0200 Subject: [PATCH] use v2 of mensa-api --- panels/mensaPlan/script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/panels/mensaPlan/script.js b/panels/mensaPlan/script.js index d026981..fd09577 100644 --- a/panels/mensaPlan/script.js +++ b/panels/mensaPlan/script.js @@ -86,7 +86,7 @@ this.loaded = function(panel, config) { }, 30*60*1000); function getMensaPlan() { - $.getJSON("https://mobil.itmc.tu-dortmund.de/canteen-menu/v1/canteens/341/"+calcDateAPI()).done(function(json) { + $.getJSON("https://mobil.itmc.tu-dortmund.de/canteen-menu/v2/canteens/341/"+calcDateAPI()).done(function(json) { fillTable(json); }).fail(function(jqxhr, textStatus, error) { var err = textStatus + ", " + error; -- GitLab