Skip to content

Commit

Permalink
Resume token chaining
Browse files Browse the repository at this point in the history
  • Loading branch information
prijendev committed Jan 8, 2025
1 parent a4093ec commit 427f606
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def preserve_refresh_token(existing_conns, payload):
if not existing_conns:
return payload
conn_with_creds = connections.fetch_existing_connection_with_creds(existing_conns[0]['id'])
# payload['properties']['refresh_token'] = conn_with_creds['credentials']['refresh_token']
payload['properties']['refresh_token'] = conn_with_creds['credentials']['refresh_token']
return payload

class XeroScenarioBase(unittest.TestCase):
Expand Down

0 comments on commit 427f606

Please sign in to comment.