From 324c7a499155c9aa72ceab5e304c2677d54e29a0 Mon Sep 17 00:00:00 2001 From: gsd Date: Tue, 26 Sep 2023 20:07:42 +0300 Subject: [PATCH] missed space --- src/main/java/app/services/db/DetectService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/app/services/db/DetectService.java b/src/main/java/app/services/db/DetectService.java index 4cad13f..21e9014 100644 --- a/src/main/java/app/services/db/DetectService.java +++ b/src/main/java/app/services/db/DetectService.java @@ -30,7 +30,7 @@ public class DetectService { public List getAccountsPerSteamID(SteamID steamID) { List founded_steamid = new ArrayList<>(); for (Map.Entry stringServerEntry : stats.getServers().entrySet()) { - founded_steamid.addAll(entityManager.createNativeQuery("SELECT * FROM "+stringServerEntry.getValue().getDb()+"."+"`user_connections` WHERE `connect_ip` in (SELECT `connect_ip` FROM " + stringServerEntry.getValue().getDb() + "." +" `user_connections` WHERE `steam_id` LIKE ?1 ORDER BY `id` DESC) GROUP BY `steam_id`") + founded_steamid.addAll(entityManager.createNativeQuery("SELECT * FROM "+stringServerEntry.getValue().getDb()+"."+"`user_connections` WHERE `connect_ip` in (SELECT `connect_ip` FROM " + stringServerEntry.getValue().getDb() + "." +"`user_connections` WHERE `steam_id` LIKE ?1 ORDER BY `id` DESC) GROUP BY `steam_id`") .setParameter(1, steamID.steam2) .getResultStream().map(String::valueOf).toList()); }