Skip to content

Commit 222bdcc

Browse files
SDK regeneration (#38)
Co-authored-by: fern-api <115122769+fern-api[bot]@users.noreply.github.com>
1 parent a0d72e0 commit 222bdcc

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ publishing {
4747
maven(MavenPublication) {
4848
groupId = 'com.assemblyai'
4949
artifactId = 'assemblyai-java'
50-
version = '0.0.5-beta10'
50+
version = '0.0.5-beta11'
5151
from components.java
5252
}
5353
}

src/main/java/com/assemblyai/api/core/ClientOptions.java

+4-2
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ private ClientOptions(
2929
"X-Fern-SDK-Name",
3030
"com.assemblyai.fern:api-sdk",
3131
"X-Fern-SDK-Version",
32-
"0.0.5-beta10",
32+
"0.0.5-beta11",
3333
"X-Fern-Language",
3434
"JAVA"));
3535
this.headerSuppliers = headerSuppliers;
@@ -43,7 +43,9 @@ public Environment environment() {
4343

4444
public Map<String, String> headers(RequestOptions requestOptions) {
4545
Map<String, String> values = new HashMap<>(this.headers);
46-
headerSuppliers.forEach((key, supplier) -> values.put(key, supplier.get()));
46+
headerSuppliers.forEach((key, supplier) -> {
47+
values.put(key, supplier.get());
48+
});
4749
if (requestOptions != null) {
4850
values.putAll(requestOptions.getHeaders());
4951
}

0 commit comments

Comments
 (0)