Skip to content

Commit

Permalink
[fix] 도시 환율 정보 응답 데이터 '한글 국가명' 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
jo0oy committed Jan 28, 2024
1 parent 52509dc commit dc0e280
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
public record ExchangeRateResponseDto(
String curUnit,
String curName,
String exchangeRate
String exchangeRate,
String country
) {

@Builder
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ public ExchangeRateResponseDto getExchangeRateByCityId(Long cityId) {
.curUnit(currencyUnit.name())
.curName(currencyUnit.getCurrencyName())
.exchangeRate(exchangeRate)
.country(city.getCountry().getDescription())
.build();
}

Expand Down

0 comments on commit dc0e280

Please sign in to comment.