Compare commits

..

No commits in common. "15d0aa466b06c1970032daf9e53ab710643ebf41" and "a0a27410ea25366dd6ec9296b72a5a97b1a3da09" have entirely different histories.

View file

@ -226,8 +226,7 @@ const updateProfile = ({ credentials, params }) => {
})
} else {
if (typeof params[name] === 'object') {
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))
console.warning('Object detected in updateProfile API call. This will not work, use updateProfileJSON instead.')
}
formData.append(name, params[name]);
}