From b3e07e40a84ee80fadd08a77edbe03abc308478c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=8B=A0=EA=B4=80=EA=B7=9C?= Date: Sat, 18 Jan 2025 01:59:04 +0900 Subject: [PATCH] =?UTF-8?q?chore:=20=EA=B2=80=EC=82=AC=20=EC=A1=B0?= =?UTF-8?q?=EA=B1=B4=EB=AC=B8=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../koreatech/koin/admin/owner/service/AdminOwnerService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/in/koreatech/koin/admin/owner/service/AdminOwnerService.java b/src/main/java/in/koreatech/koin/admin/owner/service/AdminOwnerService.java index 4eeaa10ed..a70c0beb7 100644 --- a/src/main/java/in/koreatech/koin/admin/owner/service/AdminOwnerService.java +++ b/src/main/java/in/koreatech/koin/admin/owner/service/AdminOwnerService.java @@ -88,7 +88,7 @@ public AdminNewOwnersResponse getNewOwners(OwnersCondition ownersCondition) { if (ownerShopOptional.isPresent()) { OwnerShop ownerShop = ownerShopOptional.get(); - if (ownerShop.getShopId() != null) { + if (!Objects.isNull(ownerShop.getShopId())) { shop = adminShopRepository.findById(ownerShop.getShopId()).orElse(null); } }