chore: remove leftover fields
This commit is contained in:
parent
3221a7a828
commit
0c9c7dbc0c
1 changed files with 0 additions and 1 deletions
|
|
@ -531,7 +531,6 @@ function getCustomersList (phone = null, name = null, address = null, id = null,
|
||||||
AND ($7 IS NULL OR id_card_data::json->>'documentNumber' = $7)
|
AND ($7 IS NULL OR id_card_data::json->>'documentNumber' = $7)
|
||||||
AND ($8 IS NULL OR email = $8)
|
AND ($8 IS NULL OR email = $8)
|
||||||
limit $3`
|
limit $3`
|
||||||
console.log(email)
|
|
||||||
return db.any(sql, [ passableErrorCodes, anonymous.uuid, NUM_RESULTS, phone, name, address, id, email ])
|
return db.any(sql, [ passableErrorCodes, anonymous.uuid, NUM_RESULTS, phone, name, address, id, email ])
|
||||||
.then(customers => Promise.all(_.map(customer =>
|
.then(customers => Promise.all(_.map(customer =>
|
||||||
getCustomInfoRequestsData(customer)
|
getCustomInfoRequestsData(customer)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue