From f132437578528b63092d145b15ea81af5e015c93 Mon Sep 17 00:00:00 2001 From: gsd Date: Thu, 16 Feb 2023 15:45:18 +0300 Subject: [PATCH] =?UTF-8?q?=D1=8F=20=D0=B2=20=D0=B0=D1=85=D1=83=D0=B5=202?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/app/services/ReportService.java | 2 +- src/main/java/app/services/steam/SteamWebApi.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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);