fix(storefront): integrate access/me for subscriptions and update profile payload #1
|
|
@ -277,7 +277,7 @@ export default function App() {
|
||||||
await axios.put(`${API_BASE}/api/auth/profile`, {
|
await axios.put(`${API_BASE}/api/auth/profile`, {
|
||||||
full_name: profileDisplayName,
|
full_name: profileDisplayName,
|
||||||
phone_number: profilePhone,
|
phone_number: profilePhone,
|
||||||
// country: profileCountry // Commented out: backend ProfileUpdateRequest strictly forbids extra inputs
|
country: profileCountry,
|
||||||
}, {
|
}, {
|
||||||
headers: { 'Authorization': `Bearer ${userToken}` }
|
headers: { 'Authorization': `Bearer ${userToken}` }
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue