Skip to content

Commit

Permalink
Merge pull request #8 from vish689/master
Browse files Browse the repository at this point in the history
Removed exception
  • Loading branch information
vish689 authored Jul 20, 2022
2 parents 35f238f + ec9cda8 commit cecd595
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions salesforcecdpconnector/authentication_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
"""
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit cecd595

Please sign in to comment.