Skip to content

Commit 41448dc

Browse files
committed
fix
1 parent 4bf6f03 commit 41448dc

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

.github/workflows/main.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ env:
44
FLY_API_TOKEN: ${{ secrets.FLY_AUTH }}
55
on:
66
push:
7-
branches: [main]
87
workflow_dispatch:
98

109
# Your workflows jobs.

src/main/java/com/mangasite/config/init/AvajeSpringAdapter.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
import org.springframework.security.core.userdetails.MapReactiveUserDetailsService;
1111
import org.springframework.security.messaging.handler.invocation.reactive.AuthenticationPrincipalArgumentResolver;
1212
import org.springframework.web.cors.reactive.CorsConfigurationSource;
13-
import org.springframework.web.method.ControllerAdviceBean;
1413
import org.springframework.web.reactive.function.server.RouterFunction;
1514

1615
import com.fasterxml.jackson.databind.ObjectMapper;
@@ -77,8 +76,7 @@ public void initialize(GenericApplicationContext context) {
7776
.addCustomResolver(new AuthenticationPrincipalArgumentResolver());
7877

7978
handler.registerMessagingAdvice(
80-
new ControllerAdviceWrapper(
81-
new ControllerAdviceBean(scope.get(RSocketAdvice.class))));
79+
new ControllerAdviceWrapper(scope.get(RSocketAdvice.class)));
8280
});
8381
}
8482
}

0 commit comments

Comments
 (0)