Merge branch 'fixes-291' into 'develop'

fix error when updating profile

See merge request pleroma/pleroma-fe!2156
This commit is contained in:
HJ 2025-09-18 15:28:28 +00:00
commit aa7d5c0efd

View file

@ -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]);
}