Compare commits
3 commits
a0a27410ea
...
15d0aa466b
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
15d0aa466b | ||
|
|
aa7d5c0efd | ||
|
|
8353db33ad |
1 changed files with 2 additions and 1 deletions
|
|
@ -226,7 +226,8 @@ const updateProfile = ({ credentials, params }) => {
|
|||
})
|
||||
} else {
|
||||
if (typeof params[name] === 'object') {
|
||||
console.warning('Object detected in updateProfile API call. This will not work, use updateProfileJSON instead.')
|
||||
console.warn('Object detected in updateProfile API call. This will not work, use updateProfileJSON instead.')
|
||||
console.warn('Object:\n' + JSON.stringify(params[name], null, 2))
|
||||
}
|
||||
formData.append(name, params[name]);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue