Skip to content

Conversation

@kbyunghoon
Copy link
Collaborator

@kbyunghoon kbyunghoon commented Feb 18, 2025

🔧 어떤 작업인가요?

  • 원래 배열로 통계를 반환하였는데, 프론트엔드와 백엔드 측면으로 잘못된 반환 방식이라고 생각하여, 배열에서 객체로 반환하도록 수정하였습니다.
// before
[
    {
      "status": "COMPLETED",
      "count": 93
    },
    {
      "status": "INPROGRESS",
      "count": 86
    },
    {
      "status": "SCHEDULED",
      "count": 97
    },
    {
      "status": "REQUIRED",
      "count": 91
    }
]

// after
{
    "required": 0,
    "scheduled": 1,
    "inProgress": 0,
    "completed": 3
}

#️⃣ 연관된 이슈

#355

🙏 아래 내용이 모두 충족 되었는지 확인해주세요 🙏

  • PR 이전 dev 브랜치 병합 하셨나요?
  • PR 이전 빌드 테스트 정상적으로 성공했나요?
  • PR 상세내용이 충분히 기재 되었나요?
  • PR 리뷰어, 할당자, 라벨, 프로젝트 확인

@kbyunghoon kbyunghoon added the 🐛 Fix 버그 수정 label Feb 18, 2025
@kbyunghoon kbyunghoon self-assigned this Feb 18, 2025
@kbyunghoon kbyunghoon linked an issue Feb 18, 2025 that may be closed by this pull request
1 task
Copy link
Collaborator

@tomatozil tomatozil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

예시 json 보기 좋네요!
고생하셨스빈다

@kbyunghoon kbyunghoon merged commit e72c9d2 into develop Feb 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🐛 Fix 버그 수정

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[fix] 알람 상태별 개수 통계 반환 방식 변경

3 participants