diff --git a/java/web/src/main/java/com/example/server/Server.java b/java/web/src/main/java/com/example/server/Server.java index 817ac9b8..3c24d71e 100644 --- a/java/web/src/main/java/com/example/server/Server.java +++ b/java/web/src/main/java/com/example/server/Server.java @@ -37,7 +37,7 @@ protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws Se try { conn = - conn = DriverManager.getConnection(DB_URL, "user", ""); + DriverManager.getConnection(DB_URL, "user", ""); Statement s = conn.createStatement(); s.execute("SELECT userName, isWin FROM users WHERE uid = " + req.getParameter("ticket") + ";"); ResultSet r = s.getResultSet();