Skip to content
Snippets Groups Projects
Commit 521779b1 authored by ivarnm's avatar ivarnm
Browse files

Quick fix

parent d3216270
Branches
No related tags found
No related merge requests found
......@@ -163,7 +163,7 @@ public class QueryIntermediate {
public static Tournament joinATournament(String playerId) throws IOException, NoSuchElementException {
String route = "tournament/join/";
Map<String, String> params = new HashMap<>();
params.put("userid", playerId);
params.put("playerId", playerId);
String[] response = sendPostRequest(route, params);
checkStatusCode(response);
Tournament tournament = json.fromJson(Tournament.class, response[1]);
......
......@@ -147,7 +147,7 @@ public class CreateNewTournamentState extends State {
innerTable.setBackground(backgroundTableBlueRounded);
innerTable.add(makeRow(nameLabel, nameDialog));
nameInputField.setMaxLength(10);
nameInputField.setMaxLength(15);
innerTable.add(nameInputField).size(nameFieldWidth, inputFieldHeight);
innerTable.row();
removeKeyPadAtTouch();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment