diff --git a/jwt_console_project/jwtConsole.js b/jwt_console_project/jwtConsole.js index 23665e9..67c15ac 100644 --- a/jwt_console_project/jwtConsole.js +++ b/jwt_console_project/jwtConsole.js @@ -62,7 +62,7 @@ async function authenticate(){ }; } catch (e) { console.log(e); - let body = e.response && e.response.body; + let body = e.response && e.response.data; // Determine the source of the error if (body) { // The user needs to grant consent