From 8c143ab21655f61752b05a3746bd82fe10d741f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Oliveira?= Date: Fri, 24 Sep 2021 11:04:11 +0100 Subject: [PATCH] fix: remove log and fix rebase leftovers --- lib/customers.js | 8 -------- new-lamassu-admin/src/pages/Customers/Customers.js | 7 ------- 2 files changed, 15 deletions(-) diff --git a/lib/customers.js b/lib/customers.js index 8cd35924..3757ad7a 100644 --- a/lib/customers.js +++ b/lib/customers.js @@ -451,12 +451,7 @@ function batch () { * @returns {array} Array of customers with it's transactions aggregations */ function getCustomersList (phone = null, name = null, address = null, id = null) { -<<<<<<< HEAD - const sql = `SELECT id, authorized_override, days_suspended, is_suspended, front_camera_path, front_camera_override, -======= - const sql = `SELECT id, authorized_override, days_suspended, front_camera_path, front_camera_override, ->>>>>>> fix: customer filters not being applied phone, sms_override, id_card_data, id_card_data_override, id_card_data_expiration, id_card_photo_path, id_card_photo_override, us_ssn, us_ssn_override, sanctions, sanctions_at, sanctions_override, total_txs, total_spent, created AS last_active, fiat AS last_tx_fiat, @@ -464,10 +459,7 @@ function getCustomersList (phone = null, name = null, address = null, id = null) FROM ( SELECT c.id, c.authorized_override, greatest(0, date_part('day', c.suspended_until - now())) AS days_suspended, -<<<<<<< HEAD c.suspended_until > now() AS is_suspended, -======= ->>>>>>> fix: customer filters not being applied c.front_camera_path, c.front_camera_override, c.phone, c.sms_override, c.id_card_data, c.id_card_data_override, c.id_card_data_expiration, c.id_card_photo_path, c.id_card_photo_override, c.us_ssn, c.us_ssn_override, c.sanctions, diff --git a/new-lamassu-admin/src/pages/Customers/Customers.js b/new-lamassu-admin/src/pages/Customers/Customers.js index d05a2ef1..f263de86 100644 --- a/new-lamassu-admin/src/pages/Customers/Customers.js +++ b/new-lamassu-admin/src/pages/Customers/Customers.js @@ -98,13 +98,6 @@ const Customers = () => { id: filtersObject.id }) - console.log({ - phone: filtersObject.phone, - name: filtersObject.name, - address: filtersObject.address, - id: filtersObject.id - }) - refetch && refetch() }