Merge branch 'develop' into 'develop'
Always include bio in updates, because it might be empty (optional) See merge request pleroma/pleroma-fe!209
This commit is contained in:
commit
cd3bf461db
|
@ -128,7 +128,8 @@ const updateProfile = ({credentials, params}) => {
|
|||
const form = new FormData()
|
||||
|
||||
each(params, (value, key) => {
|
||||
if (value) {
|
||||
if (key === 'description' || /* Always include description, because it might be empty */
|
||||
value) {
|
||||
form.append(key, value)
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue