Skip to content

Commit

Permalink
SDK regeneration
Browse files Browse the repository at this point in the history
  • Loading branch information
fern-api[bot] committed Dec 12, 2023
1 parent a0d72e0 commit 372f06f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ publishing {
maven(MavenPublication) {
groupId = 'com.assemblyai'
artifactId = 'assemblyai-java'
version = '0.0.5-beta10'
version = '0.0.5-beta11'
from components.java
}
}
Expand Down
6 changes: 4 additions & 2 deletions src/main/java/com/assemblyai/api/core/ClientOptions.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ private ClientOptions(
"X-Fern-SDK-Name",
"com.assemblyai.fern:api-sdk",
"X-Fern-SDK-Version",
"0.0.5-beta10",
"0.0.5-beta11",
"X-Fern-Language",
"JAVA"));
this.headerSuppliers = headerSuppliers;
Expand All @@ -43,7 +43,9 @@ public Environment environment() {

public Map<String, String> headers(RequestOptions requestOptions) {
Map<String, String> values = new HashMap<>(this.headers);
headerSuppliers.forEach((key, supplier) -> values.put(key, supplier.get()));
headerSuppliers.forEach((key, supplier) -> {
values.put(key, supplier.get());
});
if (requestOptions != null) {
values.putAll(requestOptions.getHeaders());
}
Expand Down

0 comments on commit 372f06f

Please sign in to comment.