Skip to content

Commit

Permalink
fix golint
Browse files Browse the repository at this point in the history
  • Loading branch information
ms-henglu committed Aug 20, 2024
1 parent ee9c663 commit 50236df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/clients/graph/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ type directoryObjectModel struct {
}

func graphClient(authorizer auth.Authorizer, environment environments.Environment) (*msgraph.Client, error) {
client, err := msgraph.NewMsGraphClient(environment.MicrosoftGraph, "Graph", msgraph.VersionOnePointZero)
client, err := msgraph.NewClient(environment.MicrosoftGraph, "Graph", msgraph.VersionOnePointZero)
if err != nil {
return nil, fmt.Errorf("building client: %+v", err)
}
Expand Down

0 comments on commit 50236df

Please sign in to comment.