Skip to content

Commit

Permalink
Update Spring Boot
Browse files Browse the repository at this point in the history
  • Loading branch information
blafoo committed Dec 18, 2023
1 parent 6b59e3a commit def441d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>3.1.5</version>
<version>3.2.0</version>
</parent>

<repositories>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package de.blafoo.growatt.feign;

import java.io.IOException;
import java.util.List;

import org.apache.commons.lang3.StringUtils;
Expand Down Expand Up @@ -29,7 +28,7 @@ public void apply(RequestTemplate template) {
}

@Override
public Object aroundDecode(InvocationContext invocationContext) throws IOException {
public Object intercept(InvocationContext invocationContext, Chain chain) throws Exception {
feign.Response response = invocationContext.response();
var cookies = response.headers().get(HttpHeaders.SET_COOKIE);
cookieJar.addCookies(cookies);
Expand Down

0 comments on commit def441d

Please sign in to comment.