Skip to content
This repository was archived by the owner on Oct 17, 2023. It is now read-only.

Commit 09da6e0

Browse files
author
Chris Paul
authored
Merge pull request #22 from HelloFax/issue-18
Add missing clientId
2 parents 8aa3a15 + a628716 commit 09da6e0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<groupId>com.hellosign</groupId>
77
<artifactId>hellosign-java-sdk</artifactId>
88
<packaging>jar</packaging>
9-
<version>3.5.1</version>
9+
<version>3.5.2</version>
1010
<name>HelloSign Java SDK</name>
1111
<url>https://github.com/HelloFax/hellosign-java-sdk</url>
1212
<properties>

src/main/java/com/hellosign/sdk/HelloSignClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1041,7 +1041,7 @@ public ApiApp updateApiApp(ApiApp app) throws HelloSignException {
10411041
if (!app.hasClientId()) {
10421042
throw new HelloSignException("Cannot update an ApiApp without a client ID. Create one first!");
10431043
}
1044-
HttpPutRequest request = new HttpPutRequest(URL_API_APP, app.getPostFields(), auth);
1044+
HttpPutRequest request = new HttpPutRequest(URL_API_APP + "/" + app.getClientId(), app.getPostFields(), auth);
10451045
return new ApiApp(request.getJsonResponse());
10461046
}
10471047

0 commit comments

Comments
 (0)