Skip to content

Commit

Permalink
[FO-905] (모집) 지역 시군구 api response 변경 bug fix (#407)
Browse files Browse the repository at this point in the history
  • Loading branch information
sinkyoungdeok authored Feb 9, 2024
1 parent 741430f commit f2d0040
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ class LocationService(
suspend fun retrieveRegions(): RetrieveRegionsResponse {
val result = locationRepository.getAllRegions()
return RetrieveRegionsResponse(
result = result,
regions = result
)
}
Expand All @@ -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
)
}
}

0 comments on commit f2d0040

Please sign in to comment.