Skip to content

Commit 450032e

Browse files
committed
code change
1 parent f379c89 commit 450032e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/app-service/tutorial-auth-aad.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -273,8 +273,8 @@ The frontend app needs to pass the user's authentication with the correct `user_
273273
}
274274
});
275275
if (response.ok) {
276-
const apiResponse = await response.json();
277-
console.log(`profile: ${JSON.stringify(apiResponse?.profile)}`);
276+
const { profile } = await response.json();
277+
console.log(`profile: ${profile}`);
278278
} else {
279279
// error handling
280280
}

0 commit comments

Comments
 (0)