Added account object to API

CURA-5744
This commit is contained in:
Jaime van Kessel 2018-09-21 16:43:32 +02:00
parent 060ea0b762
commit b54383e685
3 changed files with 93 additions and 1 deletions

View file

@ -49,6 +49,7 @@ class AuthorizationService:
if not self._user_profile:
# If there is still no user profile from the JWT, we have to log in again.
return None
return self._user_profile
def _parseJWT(self) -> Optional["UserProfile"]: