Skip to content

Commit

Permalink
Merge pull request #166 from tsyganov-ivan/patch-1
Browse files Browse the repository at this point in the history
Update client.py
  • Loading branch information
benleb authored Apr 4, 2023
2 parents ff1e396 + dc17f99 commit 373cb31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion surepy/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ async def call(
)
self._auth_token = None
if not second_try:
token_refreshed = self.get_token()
token_refreshed = await self.get_token()
if token_refreshed:
await self.call(method="GET", resource=resource, second_try=True)

Expand Down

0 comments on commit 373cb31

Please # to comment.