fix: ensure companyName is included in profile data for backend
This commit is contained in:
parent
3bdd4ae330
commit
71f4fdfd02
@ -272,6 +272,7 @@ export default function CompanyAdditionalInformationPage() {
|
||||
try {
|
||||
// Prepare data for backend with correct field names
|
||||
const profileData = {
|
||||
companyName: user?.companyName || '',
|
||||
address: form.street, // Backend expects 'address', not nested object
|
||||
zip_code: form.postalCode, // Backend expects 'zip_code'
|
||||
city: form.city,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user