Skip to content

Commit 4cd0ad9

Browse files
committed
Fix typo
1 parent aa9f81a commit 4cd0ad9

File tree

1 file changed

+2
-2
lines changed
  • Service/GroupMembershipManagement/Hosts/JobTrigger/Function

1 file changed

+2
-2
lines changed

Service/GroupMembershipManagement/Hosts/JobTrigger/Function/Startup.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ public override void Configure(IFunctionsHostBuilder builder)
5757
var configuration = services.GetService<IConfiguration>();
5858
var graphCredentials = services.GetService<IOptions<GraphCredentials>>().Value;
5959
var authenticationType = MapStringToAuthenticationType(configuration["GraphAPI:AuthenticationType"]);
60-
var crendential = FunctionAppDI.CreateAuthenticationProvider(graphCredentials, authenticationType);
61-
return new GraphServiceClient(crendential);
60+
var credential = FunctionAppDI.CreateAuthenticationProvider(graphCredentials, authenticationType);
61+
return new GraphServiceClient(credential);
6262
})
6363
.AddScoped<IGraphGroupRepository, GraphGroupRepository>();
6464

0 commit comments

Comments
 (0)