diff --git a/lib/customers.js b/lib/customers.js index d96b81de..0f68f1ed 100644 --- a/lib/customers.js +++ b/lib/customers.js @@ -130,8 +130,8 @@ async function updateCustomer (id, data, userToken) { .then(res => updateSubscriberData(id, res, userToken)) .catch(logger.error) } - invalidateCustomerNotifications(id, formattedData) - return getCustomerById(id) + invalidateCustomerNotifications(id, formattedData) + return getCustomerById(id) } /**