Skip to content

Commit 717d266

Browse files
committed
Use HttpBearerAuth instead of ApiKeyAuth
1 parent 4127467 commit 717d266

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ProcessMaker.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public static ApiClient api() {
1919

2020
client.setBasePath(baseApiUrl);
2121
if(v3Token != null && !v3Token.isEmpty()) {
22-
client.setApiKey("Bearer " + v3Token);
22+
client.setBearerToken(v3Token);
2323
}
2424
client.setConnectTimeout(connectTimeout);
2525
client.setDebugging(false);

0 commit comments

Comments
 (0)