Skip to content

Commit

Permalink
[fix] 로그인된 사용자가 도시 보관했는지 여부 로직 인증 객체 NPE 해결
Browse files Browse the repository at this point in the history
  • Loading branch information
jo0oy committed Jan 30, 2024
1 parent 29e1393 commit 3bf104e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 3bf104e

Please sign in to comment.