docs: note robeing-monitor preferences path/schema fix
This commit is contained in:
parent
2e6a652855
commit
de404fb508
@ -399,3 +399,11 @@ params.append(time_obj) # datetime.time 객체
|
|||||||
|
|
||||||
*최종 수정: 2025-08-27 23:30*
|
*최종 수정: 2025-08-27 23:30*
|
||||||
*상태: ✅ 완전 해결 - Frontend-Backend preferences 연동 완료*
|
*상태: ✅ 완전 해결 - Frontend-Backend preferences 연동 완료*
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 12. 2025-12-04 업데이트: robeing-monitor preferences 경로/스키마 정리
|
||||||
|
|
||||||
|
- **경로 정리**: robeing-monitor에 `/api/preferences/{user_id}` alias 엔드포인트를 추가하여, Gateway가 프록시하는 경로(`/api/preferences/...`)와 백엔드 실제 경로를 일치시킴.
|
||||||
|
- **스키마 정리**: user_preference 테이블에서 더 이상 사용하지 않는 `slack_user_id` 컬럼 참조를 제거하고, UUID 기반 `user_id`만으로 조회/UPDATE/INSERT하도록 `app/api/monitor.py`를 수정.
|
||||||
|
- **기본값 보장**: 레코드가 없는 신규 사용자에 대해서도 404 대신 기본값(`news_keywords=[]`, `briefing_enabled=true`, `briefing_time="09:00"`)을 200 응답으로 반환하는 현재 동작을 재확인하고 유지.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user