Skip to content
Snippets Groups Projects
Commit a8215380 authored by Anton's avatar Anton
Browse files

trying to fix web socket disconnect

parent ca351fb0
No related branches found
No related tags found
No related merge requests found
......@@ -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 = ""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment