mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-23 22:54:01 -06:00
Also call processing functions for error callbacks
Otherwise the appropriate callbacks might not get called. Contributes to issue CURA-8539.
This commit is contained in:
parent
e8f9e92f02
commit
8ea8cc752f
2 changed files with 3 additions and 2 deletions
|
@ -134,7 +134,7 @@ class AuthorizationService:
|
|||
|
||||
self._auth_helpers.getAccessTokenUsingRefreshToken(self._auth_data.refresh_token, process_auth_data)
|
||||
|
||||
self._auth_helpers.checkToken(self._auth_data.access_token, check_user_profile, lambda: callback(None))
|
||||
self._auth_helpers.checkToken(self._auth_data.access_token, check_user_profile, lambda: check_user_profile(None))
|
||||
|
||||
def getAccessToken(self) -> Optional[str]:
|
||||
"""Get the access token as provided by the response data."""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue