Skip to content

Commit 1251c1e

Browse files
authored
Update scenario-web-api-call-api-app-configuration.md
Description points to the right method while code snippet contains an old implementation. Updated code snippet.
1 parent 4573049 commit 1251c1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ using Microsoft.Identity.Web;
126126
builder.Services.AddAuthentication(JwtBearerDefaults.AuthenticationScheme)
127127
.AddMicrosoftIdentityWebApi(Configuration, "AzureAd")
128128
.EnableTokenAcquisitionToCallDownstreamApi()
129-
.AddDownstreamApi("MyApi", Configuration.GetSection("GraphBeta"))
129+
.AddDownstreamWebApi("MyApi", Configuration.GetSection("GraphBeta"))
130130
.AddInMemoryTokenCaches();
131131
// ...
132132
```

0 commit comments

Comments
 (0)