Commit a5eba2f9 authored by Gijs Hendriksen's avatar Gijs Hendriksen

Update registration field if it is empty

parent 9efca603
......@@ -54,7 +54,7 @@ const update = function* update(action) {
const body = {};
Object.keys(fields).forEach((key) => {
if (fields[key] !== undefined && fields[key] !== '') {
if (fields[key] !== undefined) {
body[`fields[${key}]`] = fields[key];
}
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment