1MindLabs / 1MindLabs/mivro-server

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

Aperta
#2 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
enhancement good first issue
Lingua principale
Python
Stelle
7
Fork
8
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
fastapi, python
Ambito
api, backend
Tipo di issue
Funzionalità
Difficoltà
2/5
Tempo stimato
1-3 ore
Stato di attività
Ferma
Chiarezza
Specificata chiaramente
Idoneità per principianti
55/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.