diff --git a/salesforcecdpconnector/authentication_helper.py b/salesforcecdpconnector/authentication_helper.py index 22cc140..00207e2 100644 --- a/salesforcecdpconnector/authentication_helper.py +++ b/salesforcecdpconnector/authentication_helper.py @@ -127,9 +127,7 @@ def _revoke_core_token(login_url, core_token): :return: """ params = {'token': core_token} - access_code_res = requests.post(url=login_url + '/services/oauth2/revoke', params=params) - if access_code_res.status_code != 200: - raise Error('Core token revoke failed with code %d' % access_code_res.status_code) + requests.post(url=login_url + '/services/oauth2/revoke', params=params) def _renew_token(self, login_url, refresh_token, client_id, client_secret): """ diff --git a/setup.cfg b/setup.cfg index 6fdbb42..5aaa16b 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = salesforce-cdp-connector -version = 1.0.6 +version = 1.0.7 author = Vishnu Prasad description = Python Connector for Salesforce CDP long_description = file: README.md