1MindLabs / 1MindLabs/mivro-server
Compare and update profile only with new data in /update-profile route
- Ngôn ngữ chính
- Python
- Star
- 7
- Fork
- 8
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
Currently, the /update-profile route does not check for existing data before updating the user profile. Implement logic to compare incoming data with the existing profile, ensuring that only new or changed information is updated.
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
Hướng nghiên cứu
Find the /update-profile route handler, likely in a file like routes/profile.py or similar. Compare the incoming request data with the current user profile data from the database (Firestore). Update only the fields that are different. Check for existing tests for profile updates or write a simple test to verify the new behavior.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- fastapi, python
- Lĩnh vực
- api, backend
- Loại issue
- Tính năng
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức phù hợp với người mới
- 55/100