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

Quick fix

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