diff --git a/troubleshooting/250827_frontend_backend_preferences_API_연동_완료.md b/troubleshooting/250827_frontend_backend_preferences_API_연동_완료.md index df1ee95..196d5b7 100644 --- a/troubleshooting/250827_frontend_backend_preferences_API_연동_완료.md +++ b/troubleshooting/250827_frontend_backend_preferences_API_연동_완료.md @@ -294,11 +294,24 @@ async def proxy_preferences( ### 최종 상태 (23:30) - GET /api/preferences/{user_id}: 200 OK ✅ - PUT /api/preferences/{user_id}: 200 OK ✅ +- 브리핑 시간 표시: "09:00" 정상 표시 ✅ --- ## 10. PUT 500 에러 해결 과정 (22:45 ~ 23:30) +### 추가 해결: 브리핑 시간 표시 문제 (01:10) +- **문제**: DB `09:00:00` → Frontend `00:00` 표시 +- **원인**: TIME 형식 파싱 오류 +- **해결**: `activity-panel.tsx` line 104 +```javascript +// Backend에서 "09:00:00" 반환 → Frontend에서 "09:00"로 변환 +scheduleTime: data.briefing_time ? data.briefing_time.substring(0, 5) : '09:00' +``` +- **결과**: 정상 표시 완료 ✅ + +## 11. 최종 해결 내역 + ### 문제 1: 존재하지 않는 컬럼 참조 - **원인**: INSERT/UPDATE 쿼리가 DB에 없는 컬럼 참조 - **해결**: schedule_type, schedule_days, include_* 컬럼 제거