Commit 545e8239 by Patryk Czarnik

bug z datą

parent b9298c84
...@@ -9,7 +9,7 @@ public class WalutyController { ...@@ -9,7 +9,7 @@ public class WalutyController {
@GetMapping("/waluty") @GetMapping("/waluty")
public String wyswietlWaluty(String data, Model model) { public String wyswietlWaluty(String data, Model model) {
TabelaWalut tabela = PobieranieXML.pobierzTabele(null); TabelaWalut tabela = PobieranieXML.pobierzTabele(data);
model.addAttribute("tabela", tabela); model.addAttribute("tabela", tabela);
return "waluty.html"; return "waluty.html";
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment