AOSSIE-Org / AOSSIE-Org/BabyNest
[CRITICAL] Index route returns Flask Response object - causes 500 error
Đang mở
- Ngôn ngữ chính
- JavaScript
- Star
- 56
- Fork
- 124
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
The `/` route calls get_appointments() and get_tasks() which return Flask Response objects. Then it does `return jsonify(appointment_db)` - passing a Response to jsonify causes TypeError and crashes.\n\nFile: Backend/app.py, lines 227-233\nFix: Call database queries directly, not route handler functions.
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.