Skip to content

Commit e03512e

Browse files
authored
Merge pull request #107590 from mfharmessi/patch-1
Corrected code snippet in scenario-web-api-call-api-app-configuration.md
2 parents 3017da0 + 1251c1e commit e03512e

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)