fix button color and some route change

This commit is contained in:
yogesh_gohil
2019-11-16 18:34:28 +05:30
parent 8de610ad63
commit eebec45ce1
4 changed files with 23 additions and 8 deletions

View File

@ -179,13 +179,13 @@ export default {
isFetchingData: false,
formData: {
name: null,
logo: null,
email: null,
phone: null,
zip: null,
address_street_1: null,
address_street_2: null,
website: null,
logo: '',
email: '',
phone: '',
zip: '',
address_street_1: '',
address_street_2: '',
website: '',
country_id: null,
state_id: '',
city_id: ''

View File

@ -276,7 +276,12 @@ export default {
data: this.previewLogo
}))
await axios.post('/api/settings/company/upload-logo', logoData)
await axios.post('/api/admin/onboarding/company/upload-logo', logoData, {
headers: {
'Content-Type': 'multipart/form-data',
'company': response.data.user.company.id
}
})
}
this.$emit('next')