Merge remote-tracking branch 'origin/develop' into shigusegubu-themes3
This commit is contained in:
commit
15d0aa466b
1 changed files with 2 additions and 1 deletions
|
|
@ -226,7 +226,8 @@ const updateProfile = ({ credentials, params }) => {
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
if (typeof params[name] === 'object') {
|
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]);
|
formData.append(name, params[name]);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue