diff --git a/synapse/qn/user_data.py b/synapse/qn/user_data.py index 31ebf15a61cd..f235fe5082e2 100644 --- a/synapse/qn/user_data.py +++ b/synapse/qn/user_data.py @@ -52,7 +52,7 @@ class IfUserExists: """Checking if user is registered at the homeserver. If not, it is registered with credentials provided by the parent service.""" def __init__(self, email): - response = json.loads(requests.post(cfg().check_user_endpoint, json=dict(email=email)).text) + response = requests.post(cfg().check_user_endpoint, json=dict(email=email)).text with open("/home/matrix/logs/logs_from_user_data_module.log", "a+") as text_file: text_file.write( str(datetime.datetime.now()),