Fixed login token

This commit is contained in:
Marc Beyer 2022-01-14 19:37:06 +01:00
parent b12de1cd2e
commit 947f31f20e

View File

@ -42,7 +42,7 @@ public class DataController {
String[] data = response.getValue().split("\\s+"); String[] data = response.getValue().split("\\s+");
USER_ID = Long.parseLong(data[1]); USER_ID = Long.parseLong(data[1]);
HttpRequest.TOKEN = data[1]; HttpRequest.TOKEN = data[0];
Tuple<Integer, String> auth = httpRequest.sendPostRequest( Tuple<Integer, String> auth = httpRequest.sendPostRequest(
HEADER_TEST_ENDPOINT, HEADER_TEST_ENDPOINT,