1MindLabs / 1MindLabs/mivro-server

Compare and update profile only with new data in /update-profile route

Ouverte
#2 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
enhancement good first issue
Langage dominant
Python
Étoiles
7
Forks
8
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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.

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
fastapi, python
Domaine
api, backend
Type d'issue
Fonctionnalité
Difficulté
2/5
Temps estimé
1-3 heures
Activité
À l'abandon
Clarté
Clairement spécifiée
Accessibilité débutants
55/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.