From 372f06f87383f61943072f5a4abfd4f27954cfad Mon Sep 17 00:00:00 2001 From: fern-api <115122769+fern-api[bot]@users.noreply.github.com> Date: Tue, 12 Dec 2023 14:13:11 +0000 Subject: [PATCH] SDK regeneration --- build.gradle | 2 +- src/main/java/com/assemblyai/api/core/ClientOptions.java | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/build.gradle b/build.gradle index a75bbd88..3e1615e7 100644 --- a/build.gradle +++ b/build.gradle @@ -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 } } diff --git a/src/main/java/com/assemblyai/api/core/ClientOptions.java b/src/main/java/com/assemblyai/api/core/ClientOptions.java index db46c5d5..dab04d14 100644 --- a/src/main/java/com/assemblyai/api/core/ClientOptions.java +++ b/src/main/java/com/assemblyai/api/core/ClientOptions.java @@ -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; @@ -43,7 +43,9 @@ public Environment environment() { public Map headers(RequestOptions requestOptions) { Map 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()); }