Skip to content
This repository was archived by the owner on May 14, 2020. It is now read-only.

Commit 14800b6

Browse files
committed
pass HttpConfiguration to AuthApiClient
1 parent 7b43330 commit 14800b6

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

api-sdk/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@
260260
<version>3.2.1</version>
261261
</dependency>
262262
<dependency>
263-
<groupId>com.smartling</groupId>
263+
<groupId>com.smartling.api.commons</groupId>
264264
<artifactId>public-api-commons</artifactId>
265265
<version>1.4.20-RELEASE</version>
266266
</dependency>

api-sdk/src/main/java/com/smartling/api/sdk/file/FileApiClientImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -470,7 +470,7 @@ public FileApiClient build()
470470
{
471471
TokenProvider tokenProvider = this.tokenProvider;
472472
if (tokenProvider == null && userId != null && userSecret != null) {
473-
tokenProvider = new OAuthTokenProvider(userId, userSecret, new AuthApiClient(proxyConfiguration, baseSmartlingApiUrl));
473+
tokenProvider = new OAuthTokenProvider(userId, userSecret, new AuthApiClient(proxyConfiguration, httpClientConfiguration, baseSmartlingApiUrl));
474474
}
475475

476476
return new FileApiClientImpl(tokenProvider, projectId, proxyConfiguration, baseSmartlingApiUrl, httpClientConfiguration);

0 commit comments

Comments
 (0)