From c66f76a40f596c84def328eeda21a90907b468d9 Mon Sep 17 00:00:00 2001 From: Raymond Date: Wed, 28 Aug 2024 01:57:43 +0900 Subject: [PATCH] test: k3s deploy action --- layer-api/src/main/java/org/layer/resolver/MemberIdResolver.java | 1 + 1 file changed, 1 insertion(+) diff --git a/layer-api/src/main/java/org/layer/resolver/MemberIdResolver.java b/layer-api/src/main/java/org/layer/resolver/MemberIdResolver.java index 50e322e5..d23acf2c 100644 --- a/layer-api/src/main/java/org/layer/resolver/MemberIdResolver.java +++ b/layer-api/src/main/java/org/layer/resolver/MemberIdResolver.java @@ -35,6 +35,7 @@ public boolean supportsParameter(MethodParameter parameter) { public Long resolveArgument(MethodParameter parameter, ModelAndViewContainer mavContainer, NativeWebRequest webRequest, WebDataBinderFactory binderFactory) throws Exception { try { var securityContext = SecurityContextHolder.getContext(); + log.info("?"); var memberId = Optional.ofNullable(securityContext).map(it -> it.getAuthentication().getName()).orElseThrow(() -> new BaseCustomException(UNAUTHORIZED_USER)); return Long.parseLong(memberId); } catch (Exception e) {