Skip to content

Commit

Permalink
resolved linting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
hardik-crest committed Jun 20, 2024
1 parent cafa077 commit 606d0fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion smtp_connector.py
Original file line number Diff line number Diff line change
Expand Up @@ -463,9 +463,9 @@ def _interactive_auth_refresh(self):
except Exception:
return phantom.APP_ERROR, "Error retrieving OAuth Token"


self._access_token = oauth_token.get('access_token')
if response_json.get("refresh_token"):
self.debug_print("Getting new refresh token.")
self._refresh_token = oauth_token.get('refresh_token')

self._state['oauth_token'] = oauth_token
Expand Down

0 comments on commit 606d0fb

Please sign in to comment.