Skip to content
This repository was archived by the owner on May 3, 2024. It is now read-only.

Commit c7232fc

Browse files
committed
fix graph response and update readme
1 parent 1ac2e9e commit c7232fc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

6-AdvancedScenarios/1-call-api-obo/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ For instance:
288288

289289
1. Open your browser and navigate to `http://localhost:3000`.
290290
1. Click the **sign-in** button on the top right corner.
291-
1. Once you authenticate, Select the **Call API** button on the navigation bar.
291+
1. Once you authenticate, Select the **Profile** button on the navigation bar.
292292

293293
> :information_source: Did the sample not work for you as expected? Then please reach out to us using the [GitHub Issues](../../../../issues) page.
294294

6-AdvancedScenarios/1-call-api-obo/SPA/src/pages/Profile.jsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ const ProfileContent = () => {
5151

5252
if (result) {
5353
callApiWithToken(result.accessToken, protectedResources.apiHello.endpoint, account)
54-
.then((response) => setGraphData(response.value))
54+
.then((response) => setGraphData(response))
5555
.catch((error) => {
5656
if (error.message === 'claims_challenge_occurred') {
5757
acquireToken(InteractionType.Redirect, request);

0 commit comments

Comments
 (0)