Skip to content

Commit 59e0871

Browse files
committed
fix typo in function name
1 parent 08791dd commit 59e0871

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

providers/ms_entra_id.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ func (p *MicrosoftEntraIDProvider) EnrichSession(ctx context.Context, session *s
6767

6868
if hasGroupOverage {
6969
logger.Printf("entra overage found, reading groups from Graph API")
70-
if err = p.addGraphGroupsToSesion(ctx, session); err != nil {
70+
if err = p.addGraphGroupsToSession(ctx, session); err != nil {
7171
return fmt.Errorf("unable to read groups from graph: %v", err)
7272
}
7373
}
@@ -129,7 +129,7 @@ func (p *MicrosoftEntraIDProvider) checkGroupOverage(session *sessions.SessionSt
129129
return false, nil
130130
}
131131

132-
func (p *MicrosoftEntraIDProvider) addGraphGroupsToSesion(ctx context.Context, s *sessions.SessionState) error {
132+
func (p *MicrosoftEntraIDProvider) addGraphGroupsToSession(ctx context.Context, s *sessions.SessionState) error {
133133
groupsHeaders := makeAuthorizationHeader(tokenTypeBearer, s.AccessToken, nil)
134134
groupsHeaders.Add("ConsistencyLevel", "eventual")
135135

0 commit comments

Comments
 (0)