Compare commits

...

3 commits

Author SHA1 Message Date
Henry Jameson
15d0aa466b Merge remote-tracking branch 'origin/develop' into shigusegubu-themes3 2025-10-02 11:39:29 +03:00
HJ
aa7d5c0efd Merge branch 'fixes-291' into 'develop'
fix error when updating profile

See merge request pleroma/pleroma-fe!2156
2025-09-18 15:28:28 +00:00
Henry Jameson
8353db33ad fix error when updating profile 2025-09-15 19:44:23 +03:00

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