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 9bbf2303..1224abcb 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 @@ -14,7 +14,6 @@ class LocationService( suspend fun retrieveRegions(): RetrieveRegionsResponse { val result = locationRepository.getAllRegions() return RetrieveRegionsResponse( - result = result, regions = result ) } @@ -23,8 +22,7 @@ class LocationService( suspend fun retrieveDistricts(region: String): RetrieveDistrictsResponse { val result = locationRepository.getDistricts(region) return RetrieveDistrictsResponse( - result = result, - district = result + districts = result ) } }