From dad4d87d9f1eab77298e2422c4eb9598dd8fb0bf Mon Sep 17 00:00:00 2001 From: Urvish Date: Fri, 11 Sep 2026 14:46:38 +0530 Subject: [PATCH] fix(profile): re-enable country field in profile update payload - Uncomment `country: profileCountry` in `PUT /api/auth/profile` request payload in `src/App.tsx` - Align frontend profile submission with the updated backend `ProfileUpdateRequest` schema --- src/App.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/App.tsx b/src/App.tsx index ad8482a..8c5ec65 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -277,7 +277,7 @@ export default function App() { await axios.put(`${API_BASE}/api/auth/profile`, { full_name: profileDisplayName, phone_number: profilePhone, - // country: profileCountry // Commented out: backend ProfileUpdateRequest strictly forbids extra inputs + country: profileCountry, }, { headers: { 'Authorization': `Bearer ${userToken}` } });