From 2d5133570872be8461878e0fa238621bc8158ccf Mon Sep 17 00:00:00 2001 From: DoodlesOnMyFood <57210973+DoodlesOnMyFood@users.noreply.github.com> Date: Sun, 17 Mar 2024 14:18:37 +0900 Subject: [PATCH] =?UTF-8?q?[FO-976]=20'=EC=A0=84=EC=B2=B4'=EB=A5=BC=20?= =?UTF-8?q?=EC=8B=9C=EA=B5=B0=EA=B5=AC=20=EB=AA=A9=EB=A1=9D=20=EC=83=81?= =?UTF-8?q?=EB=8B=A8=EC=97=90=20=EB=86=93=EB=8F=84=EB=A1=9D=20=EB=B3=80?= =?UTF-8?q?=EA=B2=BD=20(#422)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/fone/jobOpening/domain/service/LocationService.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/src/main/kotlin/com/fone/jobOpening/domain/service/LocationService.kt b/server/src/main/kotlin/com/fone/jobOpening/domain/service/LocationService.kt index 5f009e1a..ce1bf05b 100644 --- a/server/src/main/kotlin/com/fone/jobOpening/domain/service/LocationService.kt +++ b/server/src/main/kotlin/com/fone/jobOpening/domain/service/LocationService.kt @@ -20,9 +20,9 @@ class LocationService( @Transactional(readOnly = true) suspend fun retrieveDistricts(region: String): RetrieveDistrictsResponse { - val result = locationRepository.getDistricts(region) + val result = locationRepository.getDistricts(region).filter { it != "전체" } return RetrieveDistrictsResponse( - districts = result + districts = listOf("전체") + result ) } }