Fixed config get args

This commit is contained in:
Salmonllama 2020-07-27 21:58:15 -04:00
parent e8cbe78587
commit b90d981d69

View File

@ -59,7 +59,7 @@ public class ServerConfigController {
}
private static Optional<ServerConfig> getExec(String serverId) throws SQLException {
ResultSet rs = FSDB.get().select("SELECT * FROM server_config WHERE id = ?");
ResultSet rs = FSDB.get().select("SELECT * FROM server_config WHERE id = ?", serverId);
if (rs.next()) {
ServerConfig config = mapObject(rs);