From c684fc3383386f1edc61e65b4a97e2610f71c8c1 Mon Sep 17 00:00:00 2001 From: hugh-obrien Date: Thu, 7 Jun 2018 12:57:01 +0100 Subject: [PATCH] fix first/last name check bug --- .../web/app/coffee/Features/Exports/ExportsController.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/web/app/coffee/Features/Exports/ExportsController.coffee b/services/web/app/coffee/Features/Exports/ExportsController.coffee index 393ca95fdb..40cb7bb507 100644 --- a/services/web/app/coffee/Features/Exports/ExportsController.coffee +++ b/services/web/app/coffee/Features/Exports/ExportsController.coffee @@ -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()