From 3bf104e146e8e8267f002c87b770553c7c1311a4 Mon Sep 17 00:00:00 2001 From: jo0oy Date: Tue, 30 Jan 2024 10:55:58 +0900 Subject: [PATCH] =?UTF-8?q?[fix]=20=EB=A1=9C=EA=B7=B8=EC=9D=B8=EB=90=9C=20?= =?UTF-8?q?=EC=82=AC=EC=9A=A9=EC=9E=90=EA=B0=80=20=EB=8F=84=EC=8B=9C=20?= =?UTF-8?q?=EB=B3=B4=EA=B4=80=ED=96=88=EB=8A=94=EC=A7=80=20=EC=97=AC?= =?UTF-8?q?=EB=B6=80=20=EB=A1=9C=EC=A7=81=20=EC=9D=B8=EC=A6=9D=20=EA=B0=9D?= =?UTF-8?q?=EC=B2=B4=20NPE=20=ED=95=B4=EA=B2=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../haejwo/tripcometrue/domain/store/service/StoreService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/haejwo/tripcometrue/domain/store/service/StoreService.java b/src/main/java/com/haejwo/tripcometrue/domain/store/service/StoreService.java index fb842999..c08dec34 100644 --- a/src/main/java/com/haejwo/tripcometrue/domain/store/service/StoreService.java +++ b/src/main/java/com/haejwo/tripcometrue/domain/store/service/StoreService.java @@ -149,7 +149,7 @@ public void unstoreTripRecord(PrincipalDetails principalDetails, Long tripRecord @Transactional(readOnly = true) public CheckCityStoredResponseDto checkCityStoredByLoginMember(PrincipalDetails principalDetails, Long cityId) { - if (Objects.isNull(principalDetails.getMember())) { + if (Objects.isNull(principalDetails)) { return CheckCityStoredResponseDto.builder() .isStored(false) .build();