Skip to content
Snippets Groups Projects
Commit 4f95cac7 authored by Jozef Bugos's avatar Jozef Bugos
Browse files

fixing health check

parent 3b518187
No related branches found
No related tags found
No related merge requests found
...@@ -16,7 +16,7 @@ public class CheckController { ...@@ -16,7 +16,7 @@ public class CheckController {
@GetMapping("/health") @GetMapping("/health")
public ResponseEntity checkHealth() { public ResponseEntity checkHealth() {
final String uriHealth = "https://eun1.api.riotgames.com/lol/platform/v3/champion-rotations?api_key=RGAPI-852e62c4-eb53-4cd7-81a0-7617261f26a2" + key; final String uriHealth = "https://eun1.api.riotgames.com/lol/platform/v3/champion-rotations?api_key=" + key;
RestTemplate restTemplate = new RestTemplate(); RestTemplate restTemplate = new RestTemplate();
try { try {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment