From 050fb6589ddb92f4281167abef20c372368bb1f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20S=C3=A1?= Date: Mon, 31 Jan 2022 15:00:49 +0000 Subject: [PATCH] refactor: remove unnecessary step --- lib/customers.js | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/customers.js b/lib/customers.js index c6881691..c1f4e85c 100644 --- a/lib/customers.js +++ b/lib/customers.js @@ -730,7 +730,6 @@ function getCustomerById (id) { function assignCustomerData (customer) { return getEditedData(customer.id) .then(customerEditedData => selectLatestData(customer, customerEditedData)) - .then(_.assign(customer)) } /**