We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 660f814 commit e565a5eCopy full SHA for e565a5e
build.gradle
@@ -33,7 +33,7 @@ publishing {
33
maven(MavenPublication) {
34
groupId = 'io.github.seamapi'
35
artifactId = 'java'
36
- version = '0.0.24'
+ version = '0.0.25'
37
from components.java
38
}
39
src/main/java/com/seam/api/SeamApiClientBuilder.java
@@ -8,8 +8,8 @@ public final class SeamApiClientBuilder {
8
9
private Environment environment = Environment.DEFAULT;
10
11
- public SeamApiClientBuilder apiKey(String apiKey) {
12
- this.clientOptionsBuilder.addHeader("seam-workspace", apiKey);
+ public SeamApiClientBuilder token(String token) {
+ this.clientOptionsBuilder.addHeader("Authorization", "Bearer " + token);
13
return this;
14
15
0 commit comments