From 947f31f20e47e0d074240330d13035a65534a01d Mon Sep 17 00:00:00 2001 From: Marc Beyer Date: Fri, 14 Jan 2022 19:37:06 +0100 Subject: [PATCH] Fixed login token --- client/data/src/main/java/res/DataController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/data/src/main/java/res/DataController.java b/client/data/src/main/java/res/DataController.java index 01e58bf..8d3444b 100644 --- a/client/data/src/main/java/res/DataController.java +++ b/client/data/src/main/java/res/DataController.java @@ -42,7 +42,7 @@ public class DataController { String[] data = response.getValue().split("\\s+"); USER_ID = Long.parseLong(data[1]); - HttpRequest.TOKEN = data[1]; + HttpRequest.TOKEN = data[0]; Tuple auth = httpRequest.sendPostRequest( HEADER_TEST_ENDPOINT,