fixed dumb error

This commit is contained in:
Jeddunk 2020-10-07 12:49:54 +02:00
parent 272b1d0833
commit bd70c814b9

View File

@ -117,7 +117,7 @@ public class SteamAppsListCache {
private List<App> getApps() { private List<App> getApps() {
HttpResponse<String> httpResponse = HttpResponse<String> httpResponse =
Unirest.get("https://api.steampowered.com/IStoreService/GetAppList/v2/" + Unirest.get("https://api.steampowered.com/IStoreService/GetAppList/v1/" +
"?key=" + env.getKey() + "&include_games=1&max_results=50000").asString(); "?key=" + env.getKey() + "&include_games=1&max_results=50000").asString();
return new Gson() return new Gson()
.fromJson(httpResponse.getBody(), App.Rezponze.Download.class) .fromJson(httpResponse.getBody(), App.Rezponze.Download.class)