From 435fdf370aae57f0b3ca0faaf55fcfa35fc592b1 Mon Sep 17 00:00:00 2001 From: Enol Fernandez Date: Tue, 19 Nov 2024 12:55:43 +0000 Subject: [PATCH] Fix variable --- egi_notebooks_hub/egiauthenticator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/egi_notebooks_hub/egiauthenticator.py b/egi_notebooks_hub/egiauthenticator.py index f028795..0a68662 100644 --- a/egi_notebooks_hub/egiauthenticator.py +++ b/egi_notebooks_hub/egiauthenticator.py @@ -341,7 +341,7 @@ def build_access_tokens_request_params(self, handler, data=None): return super().build_access_tokens_request_params(handler, data) async def get_token_info(self, handler, params): - if "data" in params and params["data"] and data["introspect"]: + if "data" in params and params["data"] and params["data"]["introspect"]: # access token is already here no need to do anything else return params["data"] else: