From a821538013d3925e23e1fd05a9a583d9d40d12ae Mon Sep 17 00:00:00 2001 From: Anton <anton@hedvig.com> Date: Sun, 30 Jan 2022 11:44:19 +0100 Subject: [PATCH] trying to fix web socket disconnect --- lab4/twidder/server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lab4/twidder/server.py b/lab4/twidder/server.py index fcc2902..7c89429 100644 --- a/lab4/twidder/server.py +++ b/lab4/twidder/server.py @@ -57,7 +57,7 @@ def validate_request(): user_identifier = data.get("user_identifier") hashed_data = request.headers["Authorization"] token = database_helper.get_token(user_identifier) - + print("token", token) if token: token = token[0] data_str = "" -- GitLab