Skip to content
Snippets Groups Projects
Commit cfde2fe4 authored by vaartis's avatar vaartis
Browse files

Always include bio in updates, because it might be empty (optional)

parent e45cb91e
No related branches found
No related tags found
1 merge request!209Always include bio in updates, because it might be empty (optional)
......@@ -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)
}
})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment