Compare commits
No commits in common. "15d0aa466b06c1970032daf9e53ab710643ebf41" and "a0a27410ea25366dd6ec9296b72a5a97b1a3da09" have entirely different histories.
15d0aa466b
...
a0a27410ea
1 changed files with 1 additions and 2 deletions
|
|
@ -226,8 +226,7 @@ const updateProfile = ({ credentials, params }) => {
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
if (typeof params[name] === 'object') {
|
if (typeof params[name] === 'object') {
|
||||||
console.warn('Object detected in updateProfile API call. This will not work, use updateProfileJSON instead.')
|
console.warning('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