Skip to content

Commit

Permalink
♻️ CHORE. 오늘의 쉼 결과 조회 응답 개선
Browse files Browse the repository at this point in the history
  • Loading branch information
frombunny committed Sep 9, 2024
1 parent b9c2d24 commit 60e3da0
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,8 @@ public CustomAPIResponse<Map<String, Object>> calculateBreathingResult(Breathing
Map<String, Object> responseData = new LinkedHashMap<>();
responseData.put("status", state.getDescription()); // 한국어 설명으로 반환
responseData.put("breathingRate", maxBreathingRate);
responseData.put("rateDifference", rateDifferencePercent + "% " + rateChangeDirection);
responseData.put("variance", rateDifferencePercent + "%"); // 증감률
responseData.put("rateChangeDirection", rateChangeDirection);
responseData.put("first", todayBreathing.getFirst());
responseData.put("second", todayBreathing.getSecond());
responseData.put("third", todayBreathing.getThird());
Expand Down

0 comments on commit 60e3da0

Please sign in to comment.