diff --git a/CHANGELOG.md b/CHANGELOG.md index 89be4722a..afa29e057 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,7 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed -## [1.0.0] - 2023-11-10 +## [0.9.0] - 2023-11-10 ### Changed diff --git a/components/http/okHttp/src/main/java/com/microsoft/kiota/http/OkHttpRequestAdapter.java b/components/http/okHttp/src/main/java/com/microsoft/kiota/http/OkHttpRequestAdapter.java index 7ea0369d6..72b4d072e 100644 --- a/components/http/okHttp/src/main/java/com/microsoft/kiota/http/OkHttpRequestAdapter.java +++ b/components/http/okHttp/src/main/java/com/microsoft/kiota/http/OkHttpRequestAdapter.java @@ -577,8 +577,7 @@ private Response getHttpResponseMessage(@Nonnull final RequestInformation reques additionalContext.put(claimsKey, claims); } this.authProvider.authenticateRequest(requestInfo, additionalContext); - this.client.newCall(getRequestFromRequestInformation(requestInfo, span, spanForAttributes)); - Response response = this.client.newCall(getRequestFromRequestInformation(requestInfo, span, spanForAttributes)).execute(); + final Response response = this.client.newCall(getRequestFromRequestInformation(requestInfo, span, spanForAttributes)).execute(); final String contentLengthHeaderValue = getHeaderValue(response, "Content-Length"); if(contentLengthHeaderValue != null && !contentLengthHeaderValue.isEmpty()) { final int contentLengthHeaderValueAsInt = Integer.parseInt(contentLengthHeaderValue); diff --git a/gradle.properties b/gradle.properties index d0d1ae918..50ae259c3 100644 --- a/gradle.properties +++ b/gradle.properties @@ -24,8 +24,8 @@ org.gradle.parallel=true org.gradle.caching=true mavenGroupId = com.microsoft.kiota -mavenMajorVersion = 1 -mavenMinorVersion = 0 +mavenMajorVersion = 0 +mavenMinorVersion = 9 mavenPatchVersion = 0 mavenArtifactSuffix =