Skip to content

Commit 3ae9390

Browse files
authored
Correct Incorrect Variable Name
The acquireTokenRedirectCallBack function parameters include token, yet within the function the name accessToken was used.
1 parent 434934d commit 3ae9390

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

includes/active-directory-develop-guidedsetup-javascriptspa-use.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ function acquireTokenRedirectCallBack(errorDesc, token, error, tokenType)
8686
{
8787
if(tokenType === "access_token")
8888
{
89-
callMSGraph(applicationConfig.graphEndpoint, accessToken, graphAPICallback);
89+
callMSGraph(applicationConfig.graphEndpoint, token, graphAPICallback);
9090
} else {
9191
console.log("token type is:"+tokenType);
9292
}

0 commit comments

Comments
 (0)