Skip to content

Commit 64fd52f

Browse files
authored
Merge pull request #14 from ConvertAPI/develop
Fix timeout bug
2 parents 5f169d3 + 8b3246a commit 64fd52f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/main/java/com/convertapi/client/Http.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ static HttpUrl.Builder getUrlBuilder(Config config) {
2828
return new HttpUrl.Builder()
2929
.scheme(config.getScheme())
3030
.host(config.getHost())
31-
.addQueryParameter("timeout", String.valueOf(config.getTimeout()))
3231
.addQueryParameter("secret", config.getSecret());
3332
}
3433

@@ -89,4 +88,4 @@ static RemoteUploadResponse remoteUpload(String urlToFile, Config config) {
8988

9089
return new Gson().fromJson(bodyString, RemoteUploadResponse.class);
9190
}
92-
}
91+
}

0 commit comments

Comments
 (0)