diff --git a/cartoframes/auth/credentials.py b/cartoframes/auth/credentials.py index ebaf8fc96..928c908af 100644 --- a/cartoframes/auth/credentials.py +++ b/cartoframes/auth/credentials.py @@ -128,8 +128,7 @@ def user_id(self): log.debug('Getting `user_id` for {}'.format(self._username)) try: - user_me = self.me_data() - user_data = user_me.get('user_data') + user_data = self.me_data.get('user_data') if user_data: self._user_id = user_data.get('id')