Skip to content

Commit f1c632b

Browse files
committed
fix graph public API change in 2 places
1 parent cda89e5 commit f1c632b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/ProjectTemplates/Web.ProjectTemplates/content/WebApi-CSharp/Program.Main.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ public static void Main(string[] args)
133133
{
134134
httpContext.VerifyUserHasAnyAcceptedScope(scopeRequiredByApi);
135135

136-
var user = await graphServiceClient.Me.Request().GetAsync();
136+
var user = await graphServiceClient.Me.GetAsync();
137137

138138
var forecast = Enumerable.Range(1, 5).Select(index =>
139139
new WeatherForecast

src/ProjectTemplates/Web.ProjectTemplates/content/WebApi-CSharp/Program.MinimalAPIs.OrgOrIndividualB2CAuth.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@
100100
{
101101
httpContext.VerifyUserHasAnyAcceptedScope(scopeRequiredByApi);
102102

103-
var user = await graphServiceClient.Me.Request().GetAsync();
103+
var user = await graphServiceClient.Me.GetAsync();
104104

105105
var forecast = Enumerable.Range(1, 5).Select(index =>
106106
new WeatherForecast

0 commit comments

Comments
 (0)