Skip to content

Commit 9462b3e

Browse files
authored
Update GraphServiceClient.java
1 parent 8f0d155 commit 9462b3e

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/main/java/com/microsoft/graph/beta/serviceclient/GraphServiceClient.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,15 +66,16 @@ public GraphServiceClient(@Nonnull AuthenticationProvider authenticationProvider
6666
public GraphServiceClient(@Nonnull OkHttpClient client) {
6767
this(new AnonymousAuthenticationProvider(), client);
6868
}
69-
/**
70-
* Instantiate the GraphServiceClient using an AuthenticationProvider, baseUrl and OkHttpClient.
69+
/**
70+
* Instantiate the GraphServiceClient using an AuthenticationProvider, Cloud and OkHttpClient.
7171
* @param authenticationProvider The AuthenticationProvider for this GraphServiceClient.
7272
* @param client The OkHttpClient for the GraphServiceClient.
7373
* @param clouds The Clouds for the GraphServiceClient.
7474
*
7575
*/
76+
@SuppressWarnings("LambdaLast")
7677
public GraphServiceClient(@Nonnull AuthenticationProvider authenticationProvider, @Nonnull OkHttpClient client, @Nonnull Clouds clouds) {
77-
this(new BaseGraphRequestAdapter(authenticationProvider, clouds, "v1.0", getGraphClientOptions()));
78+
this(new BaseGraphRequestAdapter(authenticationProvider, clouds, "v1.0", client));
7879
}
7980
/**
8081
* Instantiate the GraphServiceClient using a TokenCredential and Scopes.

0 commit comments

Comments
 (0)