Skip to content

Commit

Permalink
Release v0.20.13 [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
semantic-release-bot committed May 3, 2022
1 parent 59e557b commit 47f2844
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "qcs-api-client"
version = "0.20.12"
version = "0.20.13"
description = "A client library for accessing the Rigetti QCS API"
license = "Apache-2.0"
repository = "https://github.com/rigetti/qcs-api-client-python"
Expand Down
4 changes: 2 additions & 2 deletions qcs_api_client/client/auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def sync_refresh_token(self):
raise QCSAuthRefreshError(response=res)
token_payload = TokenPayload(**res.json())
self._client_configuration.secrets.update_token(
credentials_name=self._client_configuration.profile_name, token=token_payload
credentials_name=self._client_configuration.profile.credentials_name, token=token_payload
)

def sync_auth_flow(self, request):
Expand Down Expand Up @@ -113,7 +113,7 @@ async def async_refresh_token(self):
raise QCSAuthRefreshError(response=res)
token_payload = TokenPayload(**res.json())
self._client_configuration.secrets.update_token(
credentials_name=self._client_configuration.profile_name, token=token_payload
credentials_name=self._client_configuration.profile.credentials_name, token=token_payload
)

async def async_auth_flow(self, request):
Expand Down

0 comments on commit 47f2844

Please sign in to comment.