Repository navigation
Authentication / Signup Flow
- Profile creation now uses upsert instead of insert across all 3 fallback paths, eliminating duplicate key errors caused by race
conditions with the database trigger
Edge Function Communication
- Questions and recommendations API calls now send name and age fields to edge functions (previously caused immediate HTTP 400
errors) - User name is passed through the full question/recommendation pipeline
Recommendation Response Handling
- Added transform layer to bridge response shape mismatch between edge functions and frontend