diff --git a/JavaScriptSPA/index.html b/JavaScriptSPA/index.html index 721df6e..3a4ef7d 100644 --- a/JavaScriptSPA/index.html +++ b/JavaScriptSPA/index.html @@ -99,7 +99,7 @@

{ if(tokenType === "access_token") { - callMSGraph(applicationConfig.graphEndpoint, accessToken, graphAPICallback); + callMSGraph(applicationConfig.graphEndpoint, token, graphAPICallback); } else { console.log("token type is:"+tokenType); }