profile form

This commit is contained in:
kurpfish
2021-08-16 16:19:50 +03:00
parent fd695627e7
commit e8f6c315f4
9 changed files with 80 additions and 10 deletions

View File

@ -55,9 +55,9 @@ export const fetchForm = async (link, info) => {
// 'Access-Control-Request-Headers': 'authorization',
'Authorization': `Bearer ${localStorage.getItem('auth_token')}`,
// 'Origin': `${process.env.REACT_APP_BASE_URL}`,
'Content-Type': 'multipart/form-data'
'Content-Type': 'application/json',
},
body: info
body: JSON.stringify(info)
})
return response