Skip to content

[Fix] - GET /api/health/summary 500 에러 수정#178

Merged
thingineeer merged 1 commit intodevfrom
fix/health-summary-500
Feb 23, 2026
Merged

[Fix] - GET /api/health/summary 500 에러 수정#178
thingineeer merged 1 commit intodevfrom
fix/health-summary-500

Conversation

@thingineeer
Copy link
Contributor

🔨 무슨 이슈인가요?


GET /api/health/summary 호출 시 500 Internal Server Error 발생

🛠 어떻게 이슈를 해결했나요?


  • getHealthSummary 리턴 타입 Object[]List<Object[]> 변경
  • Spring Data JPA aggregate 쿼리의 표준 리턴 타입으로 수정
  • 빈 결과 시 빈 Object 배열로 안전 처리

⚠️ 주의할 점이 있나요?


  • 기존 API 변경 없음 (health 패키지 내 새 파일만 수정)

- getHealthSummary 리턴 타입 Object[] → List<Object[]> 변경
- 빈 결과 처리 추가
@thingineeer thingineeer self-assigned this Feb 23, 2026
@thingineeer thingineeer merged commit 3a6671c into dev Feb 23, 2026
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant