From 1c2eeaffb5693521cbe799b1791f5cf7839d7717 Mon Sep 17 00:00:00 2001 From: xrabcde Date: Wed, 27 Oct 2021 22:24:32 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20result.empty=20=EC=82=AD=EC=A0=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/com/woowacourse/zzimkkong/service/MapService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/main/java/com/woowacourse/zzimkkong/service/MapService.java b/backend/src/main/java/com/woowacourse/zzimkkong/service/MapService.java index a219e1653..1ca0819ea 100644 --- a/backend/src/main/java/com/woowacourse/zzimkkong/service/MapService.java +++ b/backend/src/main/java/com/woowacourse/zzimkkong/service/MapService.java @@ -87,7 +87,7 @@ public MapFindAllResponse findAllMaps(final LoginEmailDto loginEmailDto) { @Cacheable(key = "#sharingMapId", value = "map", - unless = "#result == null || #result.empty") + unless = "#result == null") @Transactional(readOnly = true) public MapFindResponse findMapBySharingId(final String sharingMapId) { Long mapId = sharingIdGenerator.parseIdFrom(sharingMapId);