register_user() should return json, not string
@@ -129,7 +129,7 @@ class Client(object):
}
response = requests.post(self.register_url, json = register_payload, headers = self.headers)
response = self.__handle_response(response)
- return str(response.json())
+ return response.json()
def activate_user(self, token, content):
'''
