From e3540011cf3997349e4b9c9ab3133382839610b0 Mon Sep 17 00:00:00 2001 From: Micke Nordin Date: Sat, 13 Jan 2024 16:24:28 +0100 Subject: [PATCH] Fix typo --- jupyter/base/values/values.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jupyter/base/values/values.yaml b/jupyter/base/values/values.yaml index 4200988..64a1813 100644 --- a/jupyter/base/values/values.yaml +++ b/jupyter/base/values/values.yaml @@ -37,9 +37,9 @@ hub: return False access_token = auth_state['access_token'] refresh_token = auth_state['refresh_token'] - token_response = name]['token_response'] + token_response = auth_state['token_response'] now = time.time() - expires = self.user_dict[user.name]['token_expires'] + expires = auth_state['token_expires'] if now >= expires: print(f'Time is: {now}, token expired: {expires}') return False