diff --git a/src/main/java/app/services/ReportService.java b/src/main/java/app/services/ReportService.java index 8874e04..de03bbc 100644 --- a/src/main/java/app/services/ReportService.java +++ b/src/main/java/app/services/ReportService.java @@ -23,7 +23,7 @@ public class ReportService { String webhook_url; @Value("${backend.report.kd}") long kd; - HashMap userKD; + HashMap userKD; Stats stats; StatsService statsService; String tf2_icon = "https://steamcdn-a.akamaihd.net/steamcommunity/public/images/apps/440/e3f595a92552da3d664ad00277fad2107345f743.jpg"; diff --git a/src/main/java/app/services/steam/SteamWebApi.java b/src/main/java/app/services/steam/SteamWebApi.java index 1f64bbb..9b6f6d9 100644 --- a/src/main/java/app/services/steam/SteamWebApi.java +++ b/src/main/java/app/services/steam/SteamWebApi.java @@ -22,7 +22,7 @@ public class SteamWebApi { restTemplate = new RestTemplate(); } - public SteamData getSteamData(long steam64){ + public SteamData getSteamData(String steam64){ String url = String.format("https://api.steampowered.com/ISteamUser/GetPlayerSummaries/v0002/?key=%s&steamids=%s", webapi_key, steam64); try { ResponseEntity response = restTemplate.getForEntity(url, String.class);