Skip to content

Commit 0a21fda

Browse files
committed
1 parent 7078137 commit 0a21fda

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

articles/active-directory/develop/scenario-web-app-call-api-call-api.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,9 @@ public async Task<IActionResult> Profile()
5656
var content = await response.Content.ReadAsStringAsync();
5757

5858
dynamic me = JsonConvert.DeserializeObject(content);
59-
return me;
59+
ViewData["Me"] = me;
6060
}
6161

62-
ViewData["Me"] = me;
6362
return View();
6463
}
6564
```

0 commit comments

Comments
 (0)