From 9e790e00e638df9c5e4dcd1eac31261fddd52f5c Mon Sep 17 00:00:00 2001 From: gsd Date: Wed, 21 Feb 2024 21:08:15 +0300 Subject: [PATCH] jdbc migrate clean up fix5 --- src/main/java/app/services/db/KillfeedService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/app/services/db/KillfeedService.java b/src/main/java/app/services/db/KillfeedService.java index de9690f..3cc69ec 100644 --- a/src/main/java/app/services/db/KillfeedService.java +++ b/src/main/java/app/services/db/KillfeedService.java @@ -155,7 +155,7 @@ public class KillfeedService { //`attacker_id`, count(*) as c, `server_id` TopInFeed(ResultSet resultSet) throws SQLException { - uid = resultSet.getInt(0); + uid = resultSet.getInt(1); count = resultSet.getLong("c"); server_id = resultSet.getString("server_id"); }