Skip to content

Commit d6ea5f8

Browse files
authored
Update ProfileController.cs (#715)
Fixing a warning.
1 parent 6729bd2 commit d6ea5f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

2-WebApp-graph-user/2-6-BFF-Proxy/CallGraphBFF/Controllers/ProfileController.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public async Task<ActionResult<User>> GetProfile()
2525
{
2626
try
2727
{
28-
User profile = await _graphServiceClient.Me
28+
User? profile = await _graphServiceClient.Me
2929
.GetAsync();
3030

3131
return Ok(profile);

0 commit comments

Comments
 (0)