Merge pull request #447 from mcarlton00/give-me-the-code

Make sure status code gets returned in payload
This commit is contained in:
Odd Stråbø 2020-12-17 04:22:01 +01:00 committed by GitHub
commit 79f4e9f035
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -318,6 +318,7 @@ class ConnectionManager(object):
self._update_server_info(server, system_info)
self.config.data['auth.user_id'] = server['UserId']
self.config.data['auth.token'] = server['AccessToken']
system_info['Status_Code'] = 200
return self._after_connect_validated(server, credentials, system_info, False, options)