fix first/last name check bug

This commit is contained in:
hugh-obrien 2018-06-07 12:57:01 +01:00
parent 54ce196500
commit c684fc3383

View file

@ -13,7 +13,7 @@ module.exports =
user_id: user_id
}
if req.body && req.body.firstName && req.body.firstName
if req.body && req.body.firstName && req.body.lastName
export_params.first_name = req.body.firstName.trim()
export_params.last_name = req.body.lastName.trim()